suppress warnings about easch <applet>_main() having

no preceding prototype
This commit is contained in:
Denis Vlasenko
2007-02-03 17:28:39 +00:00
parent c7ba8b9d6c
commit 06af216528
245 changed files with 268 additions and 25 deletions
+1
View File
@@ -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");
+1
View File
@@ -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);
+1
View File
@@ -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;
+1
View File
@@ -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 *));
+1
View File
@@ -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;
+1
View File
@@ -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;