aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/main.c b/sway/main.c
index 0880cb8c..3591e7ff 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -41,7 +41,7 @@ int main(int argc, char **argv) {
41 {"version", no_argument, NULL, 'v'}, 41 {"version", no_argument, NULL, 'v'},
42 {"verbose", no_argument, &verbose, 1}, 42 {"verbose", no_argument, &verbose, 1},
43 {"get-socketpath", no_argument, NULL, 'p'}, 43 {"get-socketpath", no_argument, NULL, 'p'},
44 {0,0,0,0} 44 {0, 0, 0, 0}
45 }; 45 };
46 46
47 /* Signal handling */ 47 /* Signal handling */
@@ -127,7 +127,7 @@ int main(int argc, char **argv) {
127 return 0; 127 return 0;
128} 128}
129 129
130static void sigchld_handle(int signal) { 130void sigchld_handle(int signal) {
131 (void) signal; 131 (void) signal;
132 while (waitpid((pid_t)-1, 0, WNOHANG) > 0); 132 while (waitpid((pid_t)-1, 0, WNOHANG) > 0);
133} 133}