summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-08-28 18:32:51 +0000
committerbde <bde@FreeBSD.org>1996-08-28 18:32:51 +0000
commit1aed7ead7e15817ce52f1d68fb88812aea60c895 (patch)
tree5cfb4f68935d44fc2b8d9a3db07831391c43dc3d /sys
parent5d0a1927463d118793aa92e4b17aaf58aabf8fd3 (diff)
downloadFreeBSD-src-1aed7ead7e15817ce52f1d68fb88812aea60c895.zip
FreeBSD-src-1aed7ead7e15817ce52f1d68fb88812aea60c895.tar.gz
Removed a ton of unused #includes. The introduction of SYSINIT() and
possibly the cleaning up of extern declarations made them unnecessary.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_main.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 9b367c2..885ad06 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -39,40 +39,25 @@
* SUCH DAMAGE.
*
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
- * $Id: init_main.c,v 1.44 1996/07/31 09:26:31 davidg Exp $
+ * $Id: init_main.c,v 1.45 1996/08/22 17:37:02 wosch Exp $
*/
#include "opt_rlimit.h"
#include <sys/param.h>
#include <sys/filedesc.h>
-#include <sys/errno.h>
-#include <sys/exec.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
-#ifdef GPROF
-#include <sys/gmon.h>
-#endif
-#include <sys/mount.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
#include <sys/systm.h>
#include <sys/vnode.h>
#include <sys/sysent.h>
-#include <sys/conf.h>
-#include <sys/buf.h>
-#include <sys/clist.h>
-#include <sys/msg.h>
-#include <sys/protosw.h>
#include <sys/reboot.h>
-#include <sys/sem.h>
-#include <sys/shm.h>
#include <sys/sysproto.h>
#include <sys/vmmeter.h>
-#include <ufs/ufs/quota.h>
-
#include <machine/cpu.h>
#include <vm/vm.h>
@@ -81,7 +66,6 @@
#include <vm/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#include <vm/vm_extern.h>
#include <sys/user.h>
extern struct linker_set sysinit_set; /* XXX */
OpenPOWER on IntegriCloud