diff options
Diffstat (limited to 'runit/runsv.c')
-rw-r--r-- | runit/runsv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runit/runsv.c b/runit/runsv.c index 5d4e1584e..0da03e6b3 100644 --- a/runit/runsv.c +++ b/runit/runsv.c | |||
@@ -128,12 +128,12 @@ static void warn_cannot(const char *m) | |||
128 | bb_perror_msg("%s: warning: cannot %s", dir, m); | 128 | bb_perror_msg("%s: warning: cannot %s", dir, m); |
129 | } | 129 | } |
130 | 130 | ||
131 | static void s_child(int sig_no) | 131 | static void s_child(int sig_no ATTRIBUTE_UNUSED) |
132 | { | 132 | { |
133 | write(selfpipe.wr, "", 1); | 133 | write(selfpipe.wr, "", 1); |
134 | } | 134 | } |
135 | 135 | ||
136 | static void s_term(int sig_no) | 136 | static void s_term(int sig_no ATTRIBUTE_UNUSED) |
137 | { | 137 | { |
138 | sigterm = 1; | 138 | sigterm = 1; |
139 | write(selfpipe.wr, "", 1); /* XXX */ | 139 | write(selfpipe.wr, "", 1); /* XXX */ |
@@ -432,7 +432,7 @@ static int ctrl(struct svdir *s, char c) | |||
432 | } | 432 | } |
433 | 433 | ||
434 | int runsv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 434 | int runsv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
435 | int runsv_main(int argc, char **argv) | 435 | int runsv_main(int argc ATTRIBUTE_UNUSED, char **argv) |
436 | { | 436 | { |
437 | struct stat s; | 437 | struct stat s; |
438 | int fd; | 438 | int fd; |