diff options
author | Arkadiusz Hiler <arek@hiler.eu> | 2018-09-30 13:58:49 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arek@hiler.eu> | 2018-09-30 14:09:05 +0300 |
commit | 1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (patch) | |
tree | 112f684404755d6924d7338507eaef07500ced1f /swaylock/main.c | |
parent | Remove declarations that do no have definitions (diff) | |
download | sway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.tar.gz sway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.tar.zst sway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.zip |
Turn funcs() into funcs(void)
If they really do not take undefined number of arguments.
Diffstat (limited to 'swaylock/main.c')
-rw-r--r-- | swaylock/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
32 | exit(exit_code); | 32 | exit(exit_code); |
33 | } | 33 | } |
34 | 34 | ||
35 | static void daemonize() { | 35 | static void daemonize(void) { |
36 | int fds[2]; | 36 | int fds[2]; |
37 | if (pipe(fds) != 0) { | 37 | if (pipe(fds) != 0) { |
38 | wlr_log(WLR_ERROR, "Failed to pipe"); | 38 | wlr_log(WLR_ERROR, "Failed to pipe"); |