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 4fb047d48..b4163f108 100644 --- a/procps/free.c +++ b/procps/free.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | #include "busybox.h" | 28 | #include "busybox.h" |
29 | 29 | ||
30 | extern int free_main(int argc, char **argv) | 30 | int free_main(int argc, char **argv) |
31 | { | 31 | { |
32 | struct sysinfo info; | 32 | struct sysinfo info; |
33 | sysinfo(&info); | 33 | 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 @@ | |||
35 | #define KILL 0 | 35 | #define KILL 0 |
36 | #define KILLALL 1 | 36 | #define KILLALL 1 |
37 | 37 | ||
38 | extern int kill_main(int argc, char **argv) | 38 | int kill_main(int argc, char **argv) |
39 | { | 39 | { |
40 | int whichApp, signo = SIGTERM; | 40 | int whichApp, signo = SIGTERM; |
41 | const char *name; | 41 | 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 @@ | |||
42 | #define omitted (0) | 42 | #define omitted (0) |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | extern int pidof_main(int argc, char **argv) | 45 | int pidof_main(int argc, char **argv) |
46 | { | 46 | { |
47 | unsigned n = 0; | 47 | unsigned n = 0; |
48 | unsigned fail = 1; | 48 | 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 @@ | |||
22 | #include <selinux/selinux.h> /* for is_selinux_enabled() */ | 22 | #include <selinux/selinux.h> /* for is_selinux_enabled() */ |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | extern int ps_main(int argc, char **argv) | 25 | int ps_main(int argc, char **argv) |
26 | { | 26 | { |
27 | procps_status_t * p; | 27 | procps_status_t * p; |
28 | int i, len; | 28 | 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 @@ | |||
43 | #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) | 43 | #define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) |
44 | 44 | ||
45 | 45 | ||
46 | extern int uptime_main(int argc, char **argv) | 46 | int uptime_main(int argc, char **argv) |
47 | { | 47 | { |
48 | int updays, uphours, upminutes; | 48 | int updays, uphours, upminutes; |
49 | struct sysinfo info; | 49 | struct sysinfo info; |