diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 11:34:49 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 11:37:46 +0200 |
commit | dcf1149af6f8a0c71271a44b9aa1b06a5b4b45c5 (patch) | |
tree | 52d28b110c66c601bc23dda09f1aa6cc53d820de /src/client_main.c | |
parent | command: refactoring (diff) | |
download | cimple-dcf1149af6f8a0c71271a44b9aa1b06a5b4b45c5.tar.gz cimple-dcf1149af6f8a0c71271a44b9aa1b06a5b4b45c5.zip |
use -std=c17 -Wpedantic
Diffstat (limited to 'src/client_main.c')
-rw-r--r-- | src/client_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client_main.c b/src/client_main.c index c402b20..160bb7e 100644 --- a/src/client_main.c +++ b/src/client_main.c @@ -12,13 +12,13 @@ #include <getopt.h> #include <stdlib.h> -static struct settings default_settings() +static struct settings default_settings(void) { struct settings settings = {DEFAULT_HOST, DEFAULT_PORT}; return settings; } -const char *get_usage_string() +const char *get_usage_string(void) { return "[-h|--help] [-V|--version] [-H|--host HOST] [-p|--port PORT]"; } |