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-06af2165288cd6516b89001ec9e24992619230e0.tar.gz |
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 @@ #include <unistd.h> #include <stdlib.h> +int mktemp_main(int argc, char **argv); int mktemp_main(int argc, char **argv) { 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 @@ /* Read a block of data from stdin, write it to stdout. * Activity is indicated by a '.' to stderr */ +int pipe_progress_main(int argc, char **argv); int pipe_progress_main(int argc, char **argv) { 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 @@ #include <stdlib.h> #include <getopt.h> +int readlink_main(int argc, char **argv); int readlink_main(int argc, char **argv) { 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) /* run_parts_main */ /* Process options */ +int run_parts_main(int argc, char **argv); int run_parts_main(int argc, char **argv) { 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 { OPT_NICELEVEL = 0x80 * ENABLE_FEATURE_START_STOP_DAEMON_FANCY, }; +int start_stop_daemon_main(int argc, char **argv); int start_stop_daemon_main(int argc, char **argv) { 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 @@ #include "busybox.h" +int which_main(int argc, char **argv); int which_main(int argc, char **argv) { int status = EXIT_SUCCESS; |