diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-03-09 21:24:12 +0000 |
| commit | 3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332 (patch) | |
| tree | c9e6d3d695cbb2449132428a32fb6c309aad870f /init | |
| parent | dd91724aa089e344d0f05e40a338dcce481c1845 (diff) | |
| download | busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.gz busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.tar.bz2 busybox-w32-3e6ff9017f5aa4ea41de2520a3f6d29fb20e0332.zip | |
A cleanup patch from Jeff Garzik to static-ify a number of
namespace polluting things that really should be static.
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; |
