diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/free.c | 2 | ||||
-rw-r--r-- | procps/kill.c | 2 | ||||
-rw-r--r-- | procps/pidof.c | 2 | ||||
-rw-r--r-- | procps/ps.c | 2 | ||||
-rw-r--r-- | procps/uptime.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/procps/free.c b/procps/free.c index 4fb047d..b4163f1 100644 --- a/procps/free.c +++ b/procps/free.c @@ -27,7 +27,7 @@ #include <stdlib.h> #include "busybox.h" -extern int free_main(int argc, char **argv) +int free_main(int argc, char **argv) { struct sysinfo info; sysinfo(&info); diff --git a/procps/kill.c b/procps/kill.c index ff620ee..90114a4 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -35,7 +35,7 @@ #define KILL 0 #define KILLALL 1 -extern int kill_main(int argc, char **argv) +int kill_main(int argc, char **argv) { int whichApp, signo = SIGTERM; const char *name; diff --git a/procps/pidof.c b/procps/pidof.c index c142e33..5b3e53f 100644 --- a/procps/pidof.c +++ b/procps/pidof.c @@ -42,7 +42,7 @@ #define omitted (0) #endif -extern int pidof_main(int argc, char **argv) +int pidof_main(int argc, char **argv) { unsigned n = 0; unsigned fail = 1; diff --git a/procps/ps.c b/procps/ps.c index 9dd0e03..b6242d2 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -22,7 +22,7 @@ #include <selinux/selinux.h> /* for is_selinux_enabled() */ #endif -extern int ps_main(int argc, char **argv) +int ps_main(int argc, char **argv) { procps_status_t * p; int i, len; diff --git a/procps/uptime.c b/procps/uptime.c index 0042889..7784850 100644 --- a/procps/uptime.c +++ b/procps/uptime.c @@ -43,7 +43,7 @@ #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) -extern int uptime_main(int argc, char **argv) +int uptime_main(int argc, char **argv) { int updays, uphours, upminutes; struct sysinfo info; |