summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
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;