Turn funcs() into funcs(void)
If they really do not take undefined number of arguments.
This commit is contained in:
parent
64259db8d6
commit
5ca9cd6d4e
2
main.c
2
main.c
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user