diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-06 18:26:33 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-06 18:26:33 +0200 |
commit | 2ab994f7079daa052f8816b72e215e1609d41f76 (patch) | |
tree | 327d8bbe704fec424f8842471873ff41b8c15729 /runit/sv.c | |
parent | f5018dac21df54647d0982ed4bebd0286d77cc56 (diff) | |
download | busybox-w32-2ab994f7079daa052f8816b72e215e1609d41f76.tar.gz busybox-w32-2ab994f7079daa052f8816b72e215e1609d41f76.tar.bz2 busybox-w32-2ab994f7079daa052f8816b72e215e1609d41f76.zip |
placate gcc-8.0.1 warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit/sv.c')
-rw-r--r-- | runit/sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runit/sv.c b/runit/sv.c index 86d181872..8054daedf 100644 --- a/runit/sv.c +++ b/runit/sv.c | |||
@@ -222,6 +222,7 @@ struct globals { | |||
222 | #define str_equal(s,t) (strcmp((s), (t)) == 0) | 222 | #define str_equal(s,t) (strcmp((s), (t)) == 0) |
223 | 223 | ||
224 | 224 | ||
225 | #if ENABLE_SV || ENABLE_SVC | ||
225 | static void fatal_cannot(const char *m1) NORETURN; | 226 | static void fatal_cannot(const char *m1) NORETURN; |
226 | static void fatal_cannot(const char *m1) | 227 | static void fatal_cannot(const char *m1) |
227 | { | 228 | { |
@@ -688,6 +689,7 @@ static int sv(char **argv) | |||
688 | } | 689 | } |
689 | return rc > 99 ? 99 : rc; | 690 | return rc > 99 ? 99 : rc; |
690 | } | 691 | } |
692 | #endif | ||
691 | 693 | ||
692 | #if ENABLE_SV | 694 | #if ENABLE_SV |
693 | int sv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 695 | int sv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |