Trim unused options (or #ifdef for undoc options).

Submitted by:	phk
This commit is contained in:
Peter Wemm 1999-10-11 15:19:12 +00:00
parent 0894f4a92c
commit d1f088dab5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52128
32 changed files with 12 additions and 42 deletions

View File

@ -27,7 +27,6 @@
*/
#include <sys/param.h>
#include <sys/acct.h>
#include <sys/resourcevar.h>
#include <sys/exec.h>
#include <sys/fcntl.h>

View File

@ -32,7 +32,6 @@
#include "opt_rlimit.h"
#include <sys/param.h>
#include <sys/acct.h>
#include <sys/exec.h>
#include <sys/fcntl.h>
#include <sys/imgact.h>

View File

@ -51,7 +51,6 @@
#include <sys/mount.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/kthread.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
#include <sys/systm.h>

View File

@ -53,7 +53,6 @@
#include <sys/socketvar.h>
#include <sys/stat.h>
#include <sys/filio.h>
#include <sys/ttycom.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/unistd.h>

View File

@ -41,7 +41,6 @@
#include <sys/systm.h>
#include <sys/sysctl.h>
#include <sys/libkern.h>
#include <machine/bootinfo.h>
char *kern_envp;

View File

@ -63,7 +63,6 @@
#include <vm/vm_extern.h>
#include <vm/vm_zone.h>
#include <machine/frame.h>
#include <sys/user.h>
static int fast_vfork = 1;

View File

@ -31,7 +31,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/errno.h>
#include <machine/ipl.h>

View File

@ -28,13 +28,11 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/kthread.h>
#include <sys/unistd.h>
#include <sys/wait.h>
#include <machine/cpu.h>
#include <machine/stdarg.h>
/*

View File

@ -36,11 +36,8 @@
#include <sys/sysent.h>
#include <sys/proc.h>
#include <sys/lock.h>
#include <machine/cpu.h>
#include <machine/bootinfo.h>
#include <sys/module.h>
#include <sys/linker.h>
#include <sys/unistd.h>
#include <sys/fcntl.h>
#include <sys/libkern.h>
#include <sys/namei.h>

View File

@ -46,7 +46,6 @@
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/jail.h>
#include <sys/unistd.h>
#if defined(SMP)
#include <machine/smp.h>

View File

@ -52,7 +52,6 @@
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/unistd.h>
#include <sys/pioctl.h>
static MALLOC_DEFINE(M_CRED, "cred", "credentials");

View File

@ -45,7 +45,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/file.h>
#include <sys/resourcevar.h>
#include <sys/malloc.h>

View File

@ -51,7 +51,6 @@
#include <sys/reboot.h>
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/mount.h>
#include <sys/queue.h>

View File

@ -27,15 +27,10 @@
*/
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/sysproto.h>
#include <sys/sysent.h>
#include <sys/syscall.h>
#include <sys/module.h>
#include <sys/linker.h>
#include <sys/proc.h>
/*
* Acts like "nosys" but can be identified in sysent for dynamic call

View File

@ -38,12 +38,16 @@
#include <machine/elf.h>
#include <vm/vm.h>
#ifdef SPARSE_MAPPING
#include <vm/vm_prot.h>
#endif
#include <vm/vm_param.h>
#include <sys/lock.h>
#ifdef SPARSE_MAPPING
#include <vm/vm_object.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#endif
#include <vm/pmap.h>
#include <vm/vm_map.h>

View File

@ -38,12 +38,16 @@
#include <machine/elf.h>
#include <vm/vm.h>
#ifdef SPARSE_MAPPING
#include <vm/vm_prot.h>
#endif
#include <vm/vm_param.h>
#include <sys/lock.h>
#ifdef SPARSE_MAPPING
#include <vm/vm_object.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#endif
#include <vm/pmap.h>
#include <vm/vm_map.h>

View File

@ -26,20 +26,22 @@
* $FreeBSD$
*/
#include "opt_bus.h"
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/module.h>
#ifdef DEVICE_SYSCTLS
#include <sys/sysctl.h>
#endif
#include <sys/bus_private.h>
#include <sys/systm.h>
#include <machine/bus.h>
#include <sys/rman.h>
#include <machine/stdarg.h> /* for device_printf() */
#include "opt_bus.h"
MALLOC_DEFINE(M_BUS, "bus", "Bus data structures");
#ifdef BUS_DEBUG

View File

@ -18,7 +18,6 @@
#include <sys/conf.h>
#include <sys/disk.h>
#include <sys/malloc.h>
#include <sys/vnode.h>
#include <machine/md_var.h>
MALLOC_DEFINE(M_DISK, "disk", "disk data");

View File

@ -27,7 +27,6 @@
*/
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/linker.h>

View File

@ -37,10 +37,8 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>

View File

@ -39,7 +39,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <machine/limits.h>
/*

View File

@ -46,7 +46,6 @@
#include <sys/sysproto.h>
#include <sys/filedesc.h>
#include <sys/filio.h>
#include <sys/ttycom.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/proc.h>

View File

@ -45,7 +45,6 @@
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <vm/vm_page.h>
#include <vm/vm_extern.h>
#include <sys/user.h>
#include <miscfs/procfs/procfs.h>

View File

@ -42,7 +42,6 @@
#include <sys/queue.h>
#include <sys/sysctl.h>
#include <sys/un.h>
#include <sys/unpcb.h>
#include <net/raw_cb.h>

View File

@ -65,11 +65,9 @@
#include <vm/vm_prot.h>
#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/vm_pager.h>
#include <vm/vm_pageout.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <machine/limits.h>
static void sf_buf_init(void *arg);
SYSINIT(sock_sf, SI_SUB_MBUF, SI_ORDER_ANY, sf_buf_init, NULL)

View File

@ -42,7 +42,6 @@
#include <sys/malloc.h> /* XXX must be before <sys/file.h> */
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/lock.h>
#include <sys/mbuf.h>
#include <sys/namei.h>
#include <sys/proc.h>

View File

@ -38,15 +38,12 @@
#include <sys/conf.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_extern.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <vm/vm_zone.h>
#include <sys/aio.h>
#include <sys/shm.h>
#include <machine/cpu.h>
#include <machine/limits.h>
static long jobrefid;

View File

@ -30,7 +30,6 @@
#define VMIO
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/proc.h>

View File

@ -64,7 +64,6 @@
#include <machine/limits.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_prot.h>
#include <vm/vm_object.h>
#include <vm/vm_extern.h>

View File

@ -65,7 +65,6 @@
#include <vm/vm.h>
#include <vm/vm_object.h>
#include <vm/vm_extern.h>
#include <vm/vm_zone.h>
#include <sys/sysctl.h>

View File

@ -64,7 +64,6 @@
#include <machine/limits.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_prot.h>
#include <vm/vm_object.h>
#include <vm/vm_extern.h>

View File

@ -65,7 +65,6 @@
#include <vm/vm.h>
#include <vm/vm_object.h>
#include <vm/vm_extern.h>
#include <vm/vm_zone.h>
#include <sys/sysctl.h>