From 1e70f7b19e92c20a691f2697b2c92ea8b13daba3 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Sun, 30 Sep 2018 13:58:49 +0300 Subject: Turn funcs() into funcs(void) If they really do not take undefined number of arguments. --- swaylock/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swaylock') diff --git a/swaylock/main.c b/swaylock/main.c index 693cbc10..ed8c5607 100644 --- a/swaylock/main.c +++ b/swaylock/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"); -- cgit v1.2.3