aboutsummaryrefslogtreecommitdiff
path: root/swaylock
diff options
context:
space:
mode:
authorArkadiusz Hiler <arek@hiler.eu>2018-09-30 13:58:49 +0300
committerArkadiusz Hiler <arek@hiler.eu>2018-09-30 14:09:05 +0300
commit1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (patch)
tree112f684404755d6924d7338507eaef07500ced1f /swaylock
parentd8200012fbf27e820c069fdbb570a64f46769454 (diff)
downloadsway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.tar.xz
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) {
exit(exit_code);
}
-static void daemonize() {
+static void daemonize(void) {
int fds[2];
if (pipe(fds) != 0) {
wlr_log(WLR_ERROR, "Failed to pipe");