summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRob Landley2006-03-06 20:47:33 +0000
committerRob Landley2006-03-06 20:47:33 +0000
commitdfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch)
tree588d140a71e857cb32c80d1faad6f3073b119aa7 /init
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 'init')
-rw-r--r--init/init.c2
-rw-r--r--init/init_shared.c2
-rw-r--r--init/mesg.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c
index c4d67a5..b7bc7ef 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 7e3cc10..51e1496 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 f1cbe7e..874c220 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;