diff options
Diffstat (limited to 'src/tools/echo')
-rw-r--r-- | src/tools/echo/echo.c | 2 | ||||
-rw-r--r-- | src/tools/echo/echo_client.c | 2 | ||||
-rw-r--r-- | src/tools/echo/echo_server.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/echo/echo.c b/src/tools/echo/echo.c index 28ae4c1a..82d280f9 100644 --- a/src/tools/echo/echo.c +++ b/src/tools/echo/echo.c @@ -30,7 +30,7 @@ #include "echo_client.c" #include "echo_server.c" -static void usage() +static void usage(void) { printf("Usage: echo-app [OPTION]...\n" "Sends an echo between a server and a client\n\n" diff --git a/src/tools/echo/echo_client.c b/src/tools/echo/echo_client.c index f006273c..3507364a 100644 --- a/src/tools/echo/echo_client.c +++ b/src/tools/echo/echo_client.c @@ -23,7 +23,7 @@ #include <ouroboros/dev.h> #include <stdlib.h> -int client_main() +int client_main(void) { int fd = 0; int result = 0; diff --git a/src/tools/echo/echo_server.c b/src/tools/echo/echo_server.c index acf691b3..070f0ce3 100644 --- a/src/tools/echo/echo_server.c +++ b/src/tools/echo/echo_server.c @@ -35,7 +35,7 @@ void shutdown_server(int signo) exit(EXIT_SUCCESS); } -int server_main() +int server_main(void) { int client_fd = 0; char buf[BUF_SIZE]; |