summaryrefslogtreecommitdiffstats
path: root/swaylock
diff options
context:
space:
mode:
authorLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 13:58:49 +0300
committerLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 14:09:05 +0300
commit1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (patch)
tree112f684404755d6924d7338507eaef07500ced1f /swaylock
parentRemove declarations that do no have definitions (diff)
downloadsway-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')
-rw-r--r--swaylock/main.c2
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
35static void daemonize() { 35static 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");