diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-10-18 04:11:39 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-10-18 04:11:39 +0000 |
| commit | 74400ccfd08e8ff72b9147951dd437dd3bb7abb1 (patch) | |
| tree | d1e5c30982d3ef735c33b3b52722aaaadd8daaaa /init | |
| parent | 8acbf1d3079e9ed6d15c39bd57135b13ecb4076f (diff) | |
| download | busybox-w32-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.tar.gz busybox-w32-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.tar.bz2 busybox-w32-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.zip | |
Scrub up some function prototypes.
-Erik
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 17273afcd..068e1df16 100644 --- a/init/init.c +++ b/init/init.c | |||
| @@ -179,7 +179,7 @@ static char console[32] = _PATH_CONSOLE; | |||
| 179 | 179 | ||
| 180 | static void delete_initAction(initAction * action); | 180 | static void delete_initAction(initAction * action); |
| 181 | 181 | ||
| 182 | static void loop_forever() | 182 | static void loop_forever(void) |
| 183 | { | 183 | { |
| 184 | while (1) | 184 | while (1) |
| 185 | sleep (1); | 185 | sleep (1); |
| @@ -289,7 +289,7 @@ static void set_term(int fd) | |||
| 289 | 289 | ||
| 290 | /* How much memory does this machine have? | 290 | /* How much memory does this machine have? |
| 291 | Units are kBytes to avoid overflow on 4GB machines */ | 291 | Units are kBytes to avoid overflow on 4GB machines */ |
| 292 | static int check_free_memory() | 292 | static int check_free_memory(void) |
| 293 | { | 293 | { |
| 294 | struct sysinfo info; | 294 | struct sysinfo info; |
| 295 | unsigned int result, u, s=10; | 295 | unsigned int result, u, s=10; |
| @@ -310,7 +310,7 @@ static int check_free_memory() | |||
| 310 | return result; | 310 | return result; |
| 311 | } | 311 | } |
| 312 | 312 | ||
| 313 | static void console_init() | 313 | static void console_init(void) |
| 314 | { | 314 | { |
| 315 | int fd; | 315 | int fd; |
| 316 | int tried_devcons = 0; | 316 | int tried_devcons = 0; |
| @@ -585,7 +585,7 @@ static int waitfor(char *command, char *terminal, int get_enter) | |||
| 585 | 585 | ||
| 586 | /* Make sure there is enough memory to do something useful. * | 586 | /* Make sure there is enough memory to do something useful. * |
| 587 | * Calls "swapon -a" if needed so be sure /etc/fstab is present... */ | 587 | * Calls "swapon -a" if needed so be sure /etc/fstab is present... */ |
| 588 | static void check_memory() | 588 | static void check_memory(void) |
| 589 | { | 589 | { |
| 590 | struct stat statBuf; | 590 | struct stat statBuf; |
| 591 | 591 | ||
