diff options
| author | Rob Landley <rob@landley.net> | 2006-03-06 20:47:33 +0000 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2006-03-06 20:47:33 +0000 |
| commit | dfba741457cc81eb2ed3a9d4c074fbad74aa3249 (patch) | |
| tree | 588d140a71e857cb32c80d1faad6f3073b119aa7 /init | |
| parent | 1f5e25bf3eca768b8cee1c689ac154d8f51662f9 (diff) | |
| download | busybox-w32-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.gz busybox-w32-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.tar.bz2 busybox-w32-dfba741457cc81eb2ed3a9d4c074fbad74aa3249.zip | |
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) | |||
| 1007 | } | 1007 | } |
| 1008 | #endif /* CONFIG_FEATURE_USE_INITTAB */ | 1008 | #endif /* CONFIG_FEATURE_USE_INITTAB */ |
| 1009 | 1009 | ||
| 1010 | extern int init_main(int argc, char **argv) | 1010 | int init_main(int argc, char **argv) |
| 1011 | { | 1011 | { |
| 1012 | struct init_action *a; | 1012 | struct init_action *a; |
| 1013 | pid_t wpid; | 1013 | 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 @@ | |||
| 18 | 18 | ||
| 19 | #ifndef CONFIG_INIT | 19 | #ifndef CONFIG_INIT |
| 20 | const char * const bb_shutdown_format = "\r%s\n"; | 20 | const char * const bb_shutdown_format = "\r%s\n"; |
| 21 | extern int bb_shutdown_system(unsigned long magic) | 21 | int bb_shutdown_system(unsigned long magic) |
| 22 | { | 22 | { |
| 23 | int pri = LOG_KERN|LOG_NOTICE|LOG_FACMASK; | 23 | int pri = LOG_KERN|LOG_NOTICE|LOG_FACMASK; |
| 24 | const char *message; | 24 | 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 @@ | |||
| 28 | #define S_IWGRP_OR_S_IWOTH (S_IWGRP | S_IWOTH) | 28 | #define S_IWGRP_OR_S_IWOTH (S_IWGRP | S_IWOTH) |
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
| 31 | extern int mesg_main(int argc, char *argv[]) | 31 | int mesg_main(int argc, char *argv[]) |
| 32 | { | 32 | { |
| 33 | struct stat sb; | 33 | struct stat sb; |
| 34 | char *tty; | 34 | char *tty; |
