summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorRob Landley2006-03-06 20:47:33 +0000
committerRob Landley2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /procps
parent1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff)
downloadbusybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip
busybox-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz
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.c2
-rw-r--r--procps/kill.c2
-rw-r--r--procps/pidof.c2
-rw-r--r--procps/ps.c2
-rw-r--r--procps/uptime.c2
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;