aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-18 04:11:39 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-18 04:11:39 +0000
commit6d1d34a65ad8952d8115209f78d4f6fffee1e64f (patch)
treed1e5c30982d3ef735c33b3b52722aaaadd8daaaa /init
parent61aa77b60c411aaee39c3fade8c566642a260365 (diff)
downloadbusybox-w32-6d1d34a65ad8952d8115209f78d4f6fffee1e64f.tar.gz
busybox-w32-6d1d34a65ad8952d8115209f78d4f6fffee1e64f.tar.bz2
busybox-w32-6d1d34a65ad8952d8115209f78d4f6fffee1e64f.zip
Scrub up some function prototypes.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@3540 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r--init/init.c8
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
180static void delete_initAction(initAction * action); 180static void delete_initAction(initAction * action);
181 181
182static void loop_forever() 182static 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 */
292static int check_free_memory() 292static 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
313static void console_init() 313static 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... */
588static void check_memory() 588static void check_memory(void)
589{ 589{
590 struct stat statBuf; 590 struct stat statBuf;
591 591