From f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Thu, 18 Aug 1994 22:36:09 +0000 Subject: Fix up some sloppy coding practices: - Delete redundant declarations. - Add -Wredundant-declarations to Makefile.i386 so they don't come back. - Delete sloppy COMMON-style declarations of uninitialized data in header files. - Add a few prototypes. - Clean up warnings resulting from the above. NB: ioconf.c will still generate a redundant-declaration warning, which is unavoidable unless somebody volunteers to make `config' smarter. --- sys/kern/init_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/kern/init_main.c') diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 7e8c70bf559a..5089576cffff 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id$ + * $Id: init_main.c,v 1.4 1994/08/02 07:41:49 davidg Exp $ */ #include @@ -304,7 +304,6 @@ main(framep) /* * Start update daemon (process 3). */ -#ifndef LAPTOP if (fork(p, (void *) NULL, rval)) panic("failed fork update daemon"); if (rval[1]) { @@ -315,7 +314,6 @@ main(framep) vfs_update(); /*NOTREACHED*/ } -#endif /* The scheduler is an infinite loop. */ scheduler(); -- cgit v1.3