diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/free.c | 2 | ||||
-rw-r--r-- | procps/fuser.c | 2 | ||||
-rw-r--r-- | procps/kill.c | 2 | ||||
-rw-r--r-- | procps/nmeter.c | 2 | ||||
-rw-r--r-- | procps/pgrep.c | 2 | ||||
-rw-r--r-- | procps/pidof.c | 2 | ||||
-rw-r--r-- | procps/ps.c | 4 | ||||
-rw-r--r-- | procps/renice.c | 2 | ||||
-rw-r--r-- | procps/sysctl.c | 2 | ||||
-rw-r--r-- | procps/top.c | 2 | ||||
-rw-r--r-- | procps/uptime.c | 2 | ||||
-rw-r--r-- | procps/watch.c | 2 |
12 files changed, 13 insertions, 13 deletions
diff --git a/procps/free.c b/procps/free.c index 42193fd..e76dd21 100644 --- a/procps/free.c +++ b/procps/free.c @@ -11,7 +11,7 @@ #include "libbb.h" -int free_main(int argc, char **argv); +int free_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int free_main(int argc, char **argv) { struct sysinfo info; diff --git a/procps/fuser.c b/procps/fuser.c index 60c1095..36d634d 100644 --- a/procps/fuser.c +++ b/procps/fuser.c @@ -316,7 +316,7 @@ static int fuser_kill_pid_list(pid_list *plist, int sig) return success; } -int fuser_main(int argc, char **argv); +int fuser_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int fuser_main(int argc, char **argv) { /*static -- huh???*/ int opt = 0; /* FUSER_OPT_ */ diff --git a/procps/kill.c b/procps/kill.c index 323ee7b..0c7c160 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -24,7 +24,7 @@ * This is needed to avoid collision with kill -9 ... syntax */ -int kill_main(int argc, char **argv); +int kill_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int kill_main(int argc, char **argv) { char *arg; diff --git a/procps/nmeter.c b/procps/nmeter.c index 127a3d1..b846ee5 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c @@ -770,7 +770,7 @@ static init_func *const init_functions[] = { init_cr }; -int nmeter_main(int argc, char **argv); +int nmeter_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int nmeter_main(int argc, char **argv) { char buf[32]; diff --git a/procps/pgrep.c b/procps/pgrep.c index c5747a1..f5d4cfc 100644 --- a/procps/pgrep.c +++ b/procps/pgrep.c @@ -44,7 +44,7 @@ static void act(unsigned pid, char *cmd, int signo, unsigned opt) kill(pid, signo); } -int pgrep_main(int argc, char **argv); +int pgrep_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int pgrep_main(int argc, char **argv) { unsigned pid = getpid(); diff --git a/procps/pidof.c b/procps/pidof.c index 9629452..f295617 100644 --- a/procps/pidof.c +++ b/procps/pidof.c @@ -16,7 +16,7 @@ enum { OPT_OMIT = USE_FEATURE_PIDOF_OMIT( (1<<OPTBIT_OMIT )) + 0, }; -int pidof_main(int argc, char **argv); +int pidof_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int pidof_main(int argc, char **argv) { unsigned first = 1; diff --git a/procps/ps.c b/procps/ps.c index f5c801d..08922eb 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -278,7 +278,7 @@ static void format_process(const procps_status_t *ps) printf("%.*s\n", terminal_width, buffer); } -int ps_main(int argc, char **argv); +int ps_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int ps_main(int argc, char **argv) { procps_status_t *p; @@ -340,7 +340,7 @@ int ps_main(int argc, char **argv) #else /* !ENABLE_DESKTOP */ -int ps_main(int argc, char **argv); +int ps_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int ps_main(int argc, char **argv) { procps_status_t *p = NULL; diff --git a/procps/renice.c b/procps/renice.c index b2a9ed7..ab0d3a1 100644 --- a/procps/renice.c +++ b/procps/renice.c @@ -26,7 +26,7 @@ void BUG_bad_PRIO_PROCESS(void); void BUG_bad_PRIO_PGRP(void); void BUG_bad_PRIO_USER(void); -int renice_main(int argc, char **argv); +int renice_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int renice_main(int argc, char **argv) { static const char Xetpriority_msg[] ALIGN1 = "%cetpriority"; diff --git a/procps/sysctl.c b/procps/sysctl.c index 5100f57..a84f9ae 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c @@ -59,7 +59,7 @@ static void dwrite_str(int fd, const char *buf) /* * sysctl_main()... */ -int sysctl_main(int argc, char **argv); +int sysctl_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int sysctl_main(int argc, char **argv) { int retval = 0; diff --git a/procps/top.c b/procps/top.c index 1b8c185..7f1c83f 100644 --- a/procps/top.c +++ b/procps/top.c @@ -782,7 +782,7 @@ enum { | PSSCAN_COMM, }; -int top_main(int argc, char **argv); +int top_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int top_main(int argc, char **argv) { int count, lines, col; diff --git a/procps/uptime.c b/procps/uptime.c index ee0657e..07e8d60 100644 --- a/procps/uptime.c +++ b/procps/uptime.c @@ -25,7 +25,7 @@ #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) -int uptime_main(int argc, char **argv); +int uptime_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int uptime_main(int argc, char **argv) { int updays, uphours, upminutes; diff --git a/procps/watch.c b/procps/watch.c index 3d18105..76d2a87 100644 --- a/procps/watch.c +++ b/procps/watch.c @@ -23,7 +23,7 @@ // // (procps 3.x and procps 2.x are forks, not newer/older versions of the same) -int watch_main(int argc, char **argv); +int watch_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int watch_main(int argc, char **argv) { unsigned opt; |