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 /init | |
parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) |
Robert P. Day removed 8 gazillion occurrences of "extern" on function
definitions. (That should only be on prototypes.)
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 | ||||
-rw-r--r-- | init/init_shared.c | 2 | ||||
-rw-r--r-- | init/mesg.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c index c4d67a54b..b7bc7ef9f 100644 --- a/init/init.c +++ b/init/init.c @@ -1007,7 +1007,7 @@ static void reload_signal(int sig ATTRIBUTE_UNUSED) } #endif /* CONFIG_FEATURE_USE_INITTAB */ -extern int init_main(int argc, char **argv) +int init_main(int argc, char **argv) { struct init_action *a; pid_t wpid; diff --git a/init/init_shared.c b/init/init_shared.c index 7e3cc100d..51e1496c2 100644 --- a/init/init_shared.c +++ b/init/init_shared.c @@ -18,7 +18,7 @@ #ifndef CONFIG_INIT const char * const bb_shutdown_format = "\r%s\n"; -extern int bb_shutdown_system(unsigned long magic) +int bb_shutdown_system(unsigned long magic) { int pri = LOG_KERN|LOG_NOTICE|LOG_FACMASK; const char *message; diff --git a/init/mesg.c b/init/mesg.c index f1cbe7ea0..874c22089 100644 --- a/init/mesg.c +++ b/init/mesg.c @@ -28,7 +28,7 @@ #define S_IWGRP_OR_S_IWOTH (S_IWGRP | S_IWOTH) #endif -extern int mesg_main(int argc, char *argv[]) +int mesg_main(int argc, char *argv[]) { struct stat sb; char *tty; |