suppress warnings about easch <applet>_main() having
no preceding prototype
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 *));
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user