diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/adjtimex.c | 2 | ||||
-rw-r--r-- | miscutils/bbconfig.c | 2 | ||||
-rw-r--r-- | miscutils/chrt.c | 4 | ||||
-rw-r--r-- | miscutils/crond.c | 2 | ||||
-rw-r--r-- | miscutils/crontab.c | 2 | ||||
-rw-r--r-- | miscutils/dc.c | 2 | ||||
-rw-r--r-- | miscutils/devfsd.c | 2 | ||||
-rw-r--r-- | miscutils/eject.c | 2 | ||||
-rw-r--r-- | miscutils/hdparm.c | 2 | ||||
-rw-r--r-- | miscutils/last.c | 2 | ||||
-rw-r--r-- | miscutils/less.c | 2 | ||||
-rw-r--r-- | miscutils/makedevs.c | 4 | ||||
-rw-r--r-- | miscutils/microcom.c | 2 | ||||
-rw-r--r-- | miscutils/mountpoint.c | 2 | ||||
-rw-r--r-- | miscutils/mt.c | 2 | ||||
-rw-r--r-- | miscutils/raidautorun.c | 2 | ||||
-rw-r--r-- | miscutils/readahead.c | 2 | ||||
-rw-r--r-- | miscutils/runlevel.c | 2 | ||||
-rw-r--r-- | miscutils/rx.c | 2 | ||||
-rw-r--r-- | miscutils/setsid.c | 2 | ||||
-rw-r--r-- | miscutils/strings.c | 2 | ||||
-rw-r--r-- | miscutils/taskset.c | 4 | ||||
-rw-r--r-- | miscutils/time.c | 2 | ||||
-rw-r--r-- | miscutils/ttysize.c | 2 | ||||
-rw-r--r-- | miscutils/watchdog.c | 2 |
25 files changed, 28 insertions, 28 deletions
diff --git a/miscutils/adjtimex.c b/miscutils/adjtimex.c index b11807d75..67dd0a93b 100644 --- a/miscutils/adjtimex.c +++ b/miscutils/adjtimex.c @@ -43,7 +43,7 @@ static const char *const ret_code_descript[] = { "clock not synchronized" }; -int adjtimex_main(int argc, char **argv); +int adjtimex_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int adjtimex_main(int argc, char **argv) { enum { diff --git a/miscutils/bbconfig.c b/miscutils/bbconfig.c index 803d1d94b..ee566788b 100644 --- a/miscutils/bbconfig.c +++ b/miscutils/bbconfig.c @@ -4,7 +4,7 @@ #include "libbb.h" #include "bbconfigopts.h" -int bbconfig_main(int argc, char **argv); +int bbconfig_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int bbconfig_main(int argc, char **argv) { printf(bbconfig_config); diff --git a/miscutils/chrt.c b/miscutils/chrt.c index 1f5465c40..418e7ae79 100644 --- a/miscutils/chrt.c +++ b/miscutils/chrt.c @@ -41,8 +41,8 @@ static void show_min_max(int pol) #define OPT_f (1<<3) #define OPT_o (1<<4) -int chrt_main(int argc, char** argv); -int chrt_main(int argc, char** argv) +int chrt_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; +int chrt_main(int argc, char **argv) { pid_t pid = 0; unsigned opt; diff --git a/miscutils/crond.c b/miscutils/crond.c index fa7b3da08..8ee7e5837 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c @@ -128,7 +128,7 @@ static void crondlog(const char *ctl, ...) } } -int crond_main(int ac, char **av); +int crond_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int crond_main(int ac, char **av) { unsigned opt; diff --git a/miscutils/crontab.c b/miscutils/crontab.c index 1b827d791..6d245da90 100644 --- a/miscutils/crontab.c +++ b/miscutils/crontab.c @@ -31,7 +31,7 @@ static void EditFile(const char *user, const char *file); static int GetReplaceStream(const char *user, const char *file); static int ChangeUser(const char *user, short dochdir); -int crontab_main(int ac, char **av); +int crontab_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int crontab_main(int ac, char **av) { enum { NONE, EDIT, LIST, REPLACE, DELETE } option = NONE; diff --git a/miscutils/dc.c b/miscutils/dc.c index ced5149df..ffc3f8df4 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c @@ -197,7 +197,7 @@ static int number_of_tokens(char *buffer) return i; } -int dc_main(int argc, char **argv); +int dc_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int dc_main(int argc, char **argv) { /* take stuff from stdin if no args are given */ diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 734d4a7d9..cd94869ae 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c @@ -336,7 +336,7 @@ static unsigned int scan_dev_name(const char *d, unsigned int n, const char *ptr /* Public functions follow */ -int devfsd_main(int argc, char **argv); +int devfsd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int devfsd_main(int argc, char **argv) { int print_version = FALSE; diff --git a/miscutils/eject.c b/miscutils/eject.c index e66d74e70..99f01aba9 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c @@ -25,7 +25,7 @@ #define FLAG_CLOSE 1 #define FLAG_SMART 2 -int eject_main(int argc, char **argv); +int eject_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int eject_main(int argc, char **argv) { unsigned long flags; diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c index 365e24cba..869a5b246 100644 --- a/miscutils/hdparm.c +++ b/miscutils/hdparm.c @@ -2005,7 +2005,7 @@ static const char hdparm_options[] ALIGN1 = /*-------------------------------------*/ /* our main() routine: */ -int hdparm_main(int argc, char **argv); +int hdparm_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int hdparm_main(int argc, char **argv) { int c; diff --git a/miscutils/last.c b/miscutils/last.c index f38c4b878..fc5916ec2 100644 --- a/miscutils/last.c +++ b/miscutils/last.c @@ -26,7 +26,7 @@ #error struct utmp member char[] size(s) have changed! #endif -int last_main(int argc, char **argv); +int last_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int last_main(int argc, char **argv) { struct utmp ut; diff --git a/miscutils/less.c b/miscutils/less.c index b1e5ce93f..5ffebcd6d 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -1311,7 +1311,7 @@ static void sig_catcher(int sig ATTRIBUTE_UNUSED) exit(1); } -int less_main(int argc, char **argv); +int less_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int less_main(int argc, char **argv) { int keypress; diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index d36c6956a..1f88f3428 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c @@ -10,7 +10,7 @@ #include "libbb.h" #if ENABLE_FEATURE_MAKEDEVS_LEAF -int makedevs_main(int argc, char **argv); +int makedevs_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int makedevs_main(int argc, char **argv) { mode_t mode; @@ -69,7 +69,7 @@ int makedevs_main(int argc, char **argv) /* Licensed under the GPL v2 or later, see the file LICENSE in this tarball. */ -int makedevs_main(int argc, char **argv); +int makedevs_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int makedevs_main(int argc, char **argv) { FILE *table = stdin; diff --git a/miscutils/microcom.c b/miscutils/microcom.c index e097dc437..1235f0634 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c @@ -9,7 +9,7 @@ */ #include "libbb.h" -int microcom_main(int argc, char **argv); +int microcom_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int microcom_main(int argc, char **argv) { struct pollfd pfd[2]; diff --git a/miscutils/mountpoint.c b/miscutils/mountpoint.c index 376bd9531..5647e4c5b 100644 --- a/miscutils/mountpoint.c +++ b/miscutils/mountpoint.c @@ -11,7 +11,7 @@ #include "libbb.h" -int mountpoint_main(int argc, char **argv); +int mountpoint_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int mountpoint_main(int argc, char **argv) { struct stat st; diff --git a/miscutils/mt.c b/miscutils/mt.c index b9bc2a11b..be1f21a12 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c @@ -50,7 +50,7 @@ static const struct mt_opcodes opcodes[] = { {0, 0} }; -int mt_main(int argc, char **argv); +int mt_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int mt_main(int argc, char **argv) { const char *file = "/dev/tape"; diff --git a/miscutils/raidautorun.c b/miscutils/raidautorun.c index edcb6d66d..2766245db 100644 --- a/miscutils/raidautorun.c +++ b/miscutils/raidautorun.c @@ -13,7 +13,7 @@ #include <linux/major.h> #include <linux/raid/md_u.h> -int raidautorun_main(int argc, char **argv); +int raidautorun_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int raidautorun_main(int argc, char **argv) { if (argc != 2) diff --git a/miscutils/readahead.c b/miscutils/readahead.c index 103ce8e5d..647eb3121 100644 --- a/miscutils/readahead.c +++ b/miscutils/readahead.c @@ -12,7 +12,7 @@ #include "libbb.h" -int readahead_main(int argc, char **argv); +int readahead_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int readahead_main(int argc, char **argv) { FILE *f; diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c index f51a647be..04064ee73 100644 --- a/miscutils/runlevel.c +++ b/miscutils/runlevel.c @@ -15,7 +15,7 @@ #include <utmp.h> #include "libbb.h" -int runlevel_main(int argc, char **argv); +int runlevel_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int runlevel_main(int argc, char **argv) { struct utmp *ut; diff --git a/miscutils/rx.c b/miscutils/rx.c index 675aad2a0..898703c59 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c @@ -249,7 +249,7 @@ static void sigalrm_handler(int ATTRIBUTE_UNUSED signum) { } -int rx_main(int argc, char **argv); +int rx_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int rx_main(int argc, char **argv) { char *fn; diff --git a/miscutils/setsid.c b/miscutils/setsid.c index 8d738edfb..110bb6bb6 100644 --- a/miscutils/setsid.c +++ b/miscutils/setsid.c @@ -16,7 +16,7 @@ #include "libbb.h" -int setsid_main(int argc, char **argv); +int setsid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int setsid_main(int argc, char **argv) { if (argc < 2) diff --git a/miscutils/strings.c b/miscutils/strings.c index b7f5a0b57..d75beccea 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c @@ -16,7 +16,7 @@ #define PRINT_OFFSET 4 #define SIZE 8 -int strings_main(int argc, char **argv); +int strings_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int strings_main(int argc, char **argv) { int n, c, status = EXIT_SUCCESS; diff --git a/miscutils/taskset.c b/miscutils/taskset.c index 3c117da92..e64fd655b 100644 --- a/miscutils/taskset.c +++ b/miscutils/taskset.c @@ -41,8 +41,8 @@ static char *__from_cpuset(cpu_set_t *mask) #define OPT_p 1 -int taskset_main(int argc, char** argv); -int taskset_main(int argc, char** argv) +int taskset_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; +int taskset_main(int argc, char **argv) { cpu_set_t mask, new_mask; pid_t pid = 0; diff --git a/miscutils/time.c b/miscutils/time.c index 8f79a51ec..d21944e01 100644 --- a/miscutils/time.c +++ b/miscutils/time.c @@ -402,7 +402,7 @@ static void run_command(char *const *cmd, resource_t * resp) signal(SIGQUIT, quit_signal); } -int time_main(int argc, char **argv); +int time_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int time_main(int argc, char **argv) { resource_t res; diff --git a/miscutils/ttysize.c b/miscutils/ttysize.c index 292cfb876..f51b328ea 100644 --- a/miscutils/ttysize.c +++ b/miscutils/ttysize.c @@ -11,7 +11,7 @@ */ #include "libbb.h" -int ttysize_main(int argc, char **argv); +int ttysize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int ttysize_main(int argc, char **argv) { unsigned w,h; diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 14bd44f48..e040c64fd 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c @@ -24,7 +24,7 @@ static void watchdog_shutdown(int ATTRIBUTE_UNUSED sig) exit(0); } -int watchdog_main(int argc, char **argv); +int watchdog_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int watchdog_main(int argc, char **argv) { unsigned opts; |