aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 12:47:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 12:47:55 +0200
commit043b1e5d997d9b582a5aee37bd56e2e4f29be6e4 (patch)
treebab07bc427f178857896a8bf252c61ea1a5c67a2 /miscutils
parent5370bfb123266ab5716f321e43d3f8f6da7d7143 (diff)
downloadbusybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.gz
busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.tar.bz2
busybox-w32-043b1e5d997d9b582a5aee37bd56e2e4f29be6e4.zip
more C standard compat fixes from Dan Fandrich
function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dc.c2
-rw-r--r--miscutils/watchdog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index ff2bc3bce..3656cddc6 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -182,7 +182,7 @@ static const struct op operators[] = {
182 {"p", print_no_pop}, 182 {"p", print_no_pop},
183 {"f", print_stack_no_pop}, 183 {"f", print_stack_no_pop},
184 {"o", set_output_base}, 184 {"o", set_output_base},
185 { /* zero filled */ } 185 { "", NULL }
186}; 186};
187 187
188static void stack_machine(const char *argument) 188static void stack_machine(const char *argument)
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index e334d0189..8e961f0c1 100644
--- a/miscutils/watchdog.c
+++ b/miscutils/watchdog.c
@@ -33,7 +33,7 @@ int watchdog_main(int argc, char **argv)
33 static const struct suffix_mult suffixes[] = { 33 static const struct suffix_mult suffixes[] = {
34 { "ms", 1 }, 34 { "ms", 1 },
35 { "", 1000 }, 35 { "", 1000 },
36 { } 36 { "", 0 }
37 }; 37 };
38 38
39 unsigned opts; 39 unsigned opts;