diff options
author | Rob Landley <rob@landley.net> | 2006-03-06 23:47:33 +0300 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-03-06 23:47:33 +0300 |
commit | dfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch) | |
tree | 588d140a71e857cb32c80d1faad6f3073b119aa7 /procps | |
parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) |
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
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 4fb047d48..b4163f108 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 ff620eef4..90114a493 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 c142e33c8..5b3e53fdf 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 9dd0e036e..b6242d208 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 004288993..7784850ae 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; |