From 5ca9cd6d4e06e6fb58040505bbede041e2576db2 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Sun, 30 Sep 2018 13:58:49 +0300 Subject: [PATCH] Turn funcs() into funcs(void) If they really do not take undefined number of arguments. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 693cbc1..ed8c560 100644 --- a/main.c +++ b/main.c @@ -32,7 +32,7 @@ void sway_terminate(int exit_code) { exit(exit_code); } -static void daemonize() { +static void daemonize(void) { int fds[2]; if (pipe(fds) != 0) { wlr_log(WLR_ERROR, "Failed to pipe");