diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 17:28:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-03 17:28:39 +0000 |
commit | 06af2165288cd6516b89001ec9e24992619230e0 (patch) | |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /debianutils | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff) | |
download | busybox-w32-06af2165288cd6516b89001ec9e24992619230e0.tar.gz busybox-w32-06af2165288cd6516b89001ec9e24992619230e0.tar.bz2 busybox-w32-06af2165288cd6516b89001ec9e24992619230e0.zip |
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/mktemp.c | 1 | ||||
-rw-r--r-- | debianutils/pipe_progress.c | 1 | ||||
-rw-r--r-- | debianutils/readlink.c | 1 | ||||
-rw-r--r-- | debianutils/run_parts.c | 1 | ||||
-rw-r--r-- | debianutils/start_stop_daemon.c | 1 | ||||
-rw-r--r-- | debianutils/which.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/debianutils/mktemp.c b/debianutils/mktemp.c index d47d5a0bf..ce5bda515 100644 --- a/debianutils/mktemp.c +++ b/debianutils/mktemp.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <unistd.h> | 16 | #include <unistd.h> |
17 | #include <stdlib.h> | 17 | #include <stdlib.h> |
18 | 18 | ||
19 | int mktemp_main(int argc, char **argv); | ||
19 | int mktemp_main(int argc, char **argv) | 20 | int mktemp_main(int argc, char **argv) |
20 | { | 21 | { |
21 | unsigned long flags = getopt32(argc, argv, "dqt"); | 22 | unsigned long flags = getopt32(argc, argv, "dqt"); |
diff --git a/debianutils/pipe_progress.c b/debianutils/pipe_progress.c index 75d26e20f..51a017c98 100644 --- a/debianutils/pipe_progress.c +++ b/debianutils/pipe_progress.c | |||
@@ -18,6 +18,7 @@ | |||
18 | /* Read a block of data from stdin, write it to stdout. | 18 | /* Read a block of data from stdin, write it to stdout. |
19 | * Activity is indicated by a '.' to stderr | 19 | * Activity is indicated by a '.' to stderr |
20 | */ | 20 | */ |
21 | int pipe_progress_main(int argc, char **argv); | ||
21 | int pipe_progress_main(int argc, char **argv) | 22 | int pipe_progress_main(int argc, char **argv) |
22 | { | 23 | { |
23 | RESERVE_CONFIG_BUFFER(buf, PIPE_PROGRESS_SIZE); | 24 | RESERVE_CONFIG_BUFFER(buf, PIPE_PROGRESS_SIZE); |
diff --git a/debianutils/readlink.c b/debianutils/readlink.c index 400259080..8f9cfe431 100644 --- a/debianutils/readlink.c +++ b/debianutils/readlink.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <stdlib.h> | 13 | #include <stdlib.h> |
14 | #include <getopt.h> | 14 | #include <getopt.h> |
15 | 15 | ||
16 | int readlink_main(int argc, char **argv); | ||
16 | int readlink_main(int argc, char **argv) | 17 | int readlink_main(int argc, char **argv) |
17 | { | 18 | { |
18 | char *buf; | 19 | char *buf; |
diff --git a/debianutils/run_parts.c b/debianutils/run_parts.c index 2b3b18854..a864a0505 100644 --- a/debianutils/run_parts.c +++ b/debianutils/run_parts.c | |||
@@ -142,6 +142,7 @@ static int run_parts(char **args, const unsigned char test_mode) | |||
142 | 142 | ||
143 | /* run_parts_main */ | 143 | /* run_parts_main */ |
144 | /* Process options */ | 144 | /* Process options */ |
145 | int run_parts_main(int argc, char **argv); | ||
145 | int run_parts_main(int argc, char **argv) | 146 | int run_parts_main(int argc, char **argv) |
146 | { | 147 | { |
147 | char **args = xmalloc(2 * sizeof(char *)); | 148 | char **args = xmalloc(2 * sizeof(char *)); |
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 9a865f6c6..eb2427a50 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -230,6 +230,7 @@ enum { | |||
230 | OPT_NICELEVEL = 0x80 * ENABLE_FEATURE_START_STOP_DAEMON_FANCY, | 230 | OPT_NICELEVEL = 0x80 * ENABLE_FEATURE_START_STOP_DAEMON_FANCY, |
231 | }; | 231 | }; |
232 | 232 | ||
233 | int start_stop_daemon_main(int argc, char **argv); | ||
233 | int start_stop_daemon_main(int argc, char **argv) | 234 | int start_stop_daemon_main(int argc, char **argv) |
234 | { | 235 | { |
235 | unsigned opt; | 236 | unsigned opt; |
diff --git a/debianutils/which.c b/debianutils/which.c index 79b2a4f83..02992d0f6 100644 --- a/debianutils/which.c +++ b/debianutils/which.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include "busybox.h" | 13 | #include "busybox.h" |
14 | 14 | ||
15 | int which_main(int argc, char **argv); | ||
15 | int which_main(int argc, char **argv) | 16 | int which_main(int argc, char **argv) |
16 | { | 17 | { |
17 | int status = EXIT_SUCCESS; | 18 | int status = EXIT_SUCCESS; |