Missing void declarations in various function parameter added.
This commit is contained in:
+2
-2
@@ -190,7 +190,7 @@ eb_raw_file_write(const unsigned char *buf, int buflen)
|
||||
|
||||
|
||||
int
|
||||
eb_serial_valid()
|
||||
eb_serial_valid(void)
|
||||
{
|
||||
int serial;
|
||||
|
||||
@@ -1164,7 +1164,7 @@ eb_cyc_data_process(const unsigned char *buf, int buflen)
|
||||
}
|
||||
|
||||
int
|
||||
eb_cyc_data_recv()
|
||||
eb_cyc_data_recv(void)
|
||||
{
|
||||
static unsigned char msg[SERIAL_BUFSIZE];
|
||||
static int msglen = 0;
|
||||
|
||||
+2
-2
@@ -169,7 +169,7 @@ int eb_raw_file_write(const unsigned char *buf, int buflen);
|
||||
* @brief Check if serial FD is vaild.
|
||||
* @return 0 ok | -1 error
|
||||
*/
|
||||
int eb_serial_valid();
|
||||
int eb_serial_valid(void);
|
||||
|
||||
/**
|
||||
* @brief Open serial device in raw mode. 1 Byte is then minimum input length.
|
||||
@@ -327,7 +327,7 @@ int eb_cyc_data_process(const unsigned char *buf, int buflen);
|
||||
* @brief handle reading cycle ebus data
|
||||
* @return 0-x length of collected msg | -1 error
|
||||
*/
|
||||
int eb_cyc_data_recv();
|
||||
int eb_cyc_data_recv(void);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ log_open(const char *file, int foreground)
|
||||
}
|
||||
|
||||
void
|
||||
log_close()
|
||||
log_close(void)
|
||||
{
|
||||
if (logfp) {
|
||||
fflush(logfp);
|
||||
|
||||
Reference in New Issue
Block a user