From 74400ccfd08e8ff72b9147951dd437dd3bb7abb1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 18 Oct 2001 04:11:39 +0000 Subject: Scrub up some function prototypes. -Erik --- init/init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'init') 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; 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; -- cgit v1.2.3