Turn funcs() into funcs(void)

If they really do not take undefined number of arguments.
This commit is contained in:
Arkadiusz Hiler 2018-09-30 13:58:49 +03:00
parent 64259db8d6
commit 5ca9cd6d4e

2
main.c
View File

@ -32,7 +32,7 @@ void sway_terminate(int exit_code) {
exit(exit_code); exit(exit_code);
} }
static void daemonize() { static void daemonize(void) {
int fds[2]; int fds[2];
if (pipe(fds) != 0) { if (pipe(fds) != 0) {
wlr_log(WLR_ERROR, "Failed to pipe"); wlr_log(WLR_ERROR, "Failed to pipe");