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 /swaynag | |
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 'swaynag')
-rw-r--r-- | swaynag/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaynag/config.c b/swaynag/config.c index 4d0824c9..cd34dcc2 100644 --- a/swaynag/config.c +++ b/swaynag/config.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include "util.h" | 11 | #include "util.h" |
12 | #include "wlr-layer-shell-unstable-v1-client-protocol.h" | 12 | #include "wlr-layer-shell-unstable-v1-client-protocol.h" |
13 | 13 | ||
14 | static char *read_from_stdin() { | 14 | static char *read_from_stdin(void) { |
15 | char *buffer = NULL; | 15 | char *buffer = NULL; |
16 | while (!feof(stdin)) { | 16 | while (!feof(stdin)) { |
17 | char *line = read_line(stdin); | 17 | char *line = read_line(stdin); |