diff options
author | Eric Andersen | 2001-10-18 04:11:39 +0000 |
---|---|---|
committer | Eric Andersen | 2001-10-18 04:11:39 +0000 |
commit | 74400ccfd08e8ff72b9147951dd437dd3bb7abb1 (patch) | |
tree | d1e5c30982d3ef735c33b3b52722aaaadd8daaaa /init | |
parent | 8acbf1d3079e9ed6d15c39bd57135b13ecb4076f (diff) | |
download | busybox-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.zip busybox-74400ccfd08e8ff72b9147951dd437dd3bb7abb1.tar.gz |
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 17273af..068e1df 100644 --- a/init/init.c +++ b/init/init.c @@ -179,7 +179,7 @@ static char console[32] = _PATH_CONSOLE; static void delete_initAction(initAction * action); -static void loop_forever() +static void loop_forever(void) { while (1) sleep (1); @@ -289,7 +289,7 @@ static void set_term(int fd) /* How much memory does this machine have? Units are kBytes to avoid overflow on 4GB machines */ -static int check_free_memory() +static int check_free_memory(void) { struct sysinfo info; unsigned int result, u, s=10; @@ -310,7 +310,7 @@ static int check_free_memory() return result; } -static void console_init() +static void console_init(void) { int fd; int tried_devcons = 0; @@ -585,7 +585,7 @@ static int waitfor(char *command, char *terminal, int get_enter) /* Make sure there is enough memory to do something useful. * * Calls "swapon -a" if needed so be sure /etc/fstab is present... */ -static void check_memory() +static void check_memory(void) { struct stat statBuf; |