From dcf1149af6f8a0c71271a44b9aa1b06a5b4b45c5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 May 2023 11:34:49 +0200 Subject: use -std=c17 -Wpedantic --- src/worker_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/worker_main.c') diff --git a/src/worker_main.c b/src/worker_main.c index 01f87b6..eaaab4d 100644 --- a/src/worker_main.c +++ b/src/worker_main.c @@ -11,13 +11,13 @@ #include -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]"; } -- cgit v1.2.3