diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-09 21:24:12 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-09 21:24:12 +0000 |
commit | 1ac3737b2be159605be497acba46eb6ebc0de450 (patch) | |
tree | c9e6d3d695cbb2449132428a32fb6c309aad870f /init | |
parent | 1f5b759db15ea574fdb31e86b8916835dbd43dbe (diff) | |
download | busybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.tar.gz busybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.tar.bz2 busybox-w32-1ac3737b2be159605be497acba46eb6ebc0de450.zip |
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static.
git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c index 52ee6777a..a0f15b0ff 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -174,7 +174,7 @@ struct initActionTag { | |||
174 | initAction *nextPtr; | 174 | initAction *nextPtr; |
175 | initActionEnum action; | 175 | initActionEnum action; |
176 | }; | 176 | }; |
177 | initAction *initActionList = NULL; | 177 | static initAction *initActionList = NULL; |
178 | 178 | ||
179 | 179 | ||
180 | static char *secondConsole = VT_SECONDARY; | 180 | static char *secondConsole = VT_SECONDARY; |
@@ -255,7 +255,7 @@ static void message(int device, char *fmt, ...) | |||
255 | } | 255 | } |
256 | 256 | ||
257 | /* Set terminal settings to reasonable defaults */ | 257 | /* Set terminal settings to reasonable defaults */ |
258 | void set_term(int fd) | 258 | static void set_term(int fd) |
259 | { | 259 | { |
260 | struct termios tty; | 260 | struct termios tty; |
261 | 261 | ||
@@ -670,7 +670,7 @@ static void reboot_signal(int sig) | |||
670 | 670 | ||
671 | #endif /* ! DEBUG_INIT */ | 671 | #endif /* ! DEBUG_INIT */ |
672 | 672 | ||
673 | void new_initAction(initActionEnum action, char *process, char *cons) | 673 | static void new_initAction(initActionEnum action, char *process, char *cons) |
674 | { | 674 | { |
675 | initAction *newAction; | 675 | initAction *newAction; |
676 | 676 | ||
@@ -725,7 +725,7 @@ static void delete_initAction(initAction * action) | |||
725 | * _is_ defined, but /etc/inittab is missing, this | 725 | * _is_ defined, but /etc/inittab is missing, this |
726 | * results in the same set of default behaviors. | 726 | * results in the same set of default behaviors. |
727 | * */ | 727 | * */ |
728 | void parse_inittab(void) | 728 | static void parse_inittab(void) |
729 | { | 729 | { |
730 | #ifdef BB_FEATURE_USE_INITTAB | 730 | #ifdef BB_FEATURE_USE_INITTAB |
731 | FILE *file; | 731 | FILE *file; |