Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
This commit is contained in:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user