From dfba741457cc81eb2ed3a9d4c074fbad74aa3249 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 6 Mar 2006 20:47:33 +0000 Subject: Robert P. Day removed 8 gazillion occurrences of "extern" on function definitions. (That should only be on prototypes.) --- init/init.c | 2 +- init/init_shared.c | 2 +- init/mesg.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'init') 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; -- cgit v1.2.3