summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-02 14:33:27 +0000
committerbde <bde@FreeBSD.org>1997-08-02 14:33:27 +0000
commit9195bd1ec7d7d8d8239de6a1eb75124aa8307f1f (patch)
tree9c6abeea2159a31b9e536051714351e3abfe9989 /sys/kern
parentb6f496a4ab1dbf77dccbdc672e9d9cd294a36b99 (diff)
downloadFreeBSD-src-9195bd1ec7d7d8d8239de6a1eb75124aa8307f1f.zip
FreeBSD-src-9195bd1ec7d7d8d8239de6a1eb75124aa8307f1f.tar.gz
Removed unused #includes.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/imgact_shell.c5
-rw-r--r--sys/kern/inflate.c3
-rw-r--r--sys/kern/init_sysvec.c5
-rw-r--r--sys/kern/kern_conf.c3
-rw-r--r--sys/kern/kern_intr.c5
-rw-r--r--sys/kern/kern_linker.c5
-rw-r--r--sys/kern/kern_lkm.c6
-rw-r--r--sys/kern/kern_module.c4
-rw-r--r--sys/kern/kern_proc.c11
-rw-r--r--sys/kern/kern_prot.c5
-rw-r--r--sys/kern/link_aout.c8
-rw-r--r--sys/kern/md5c.c3
-rw-r--r--sys/kern/sys_socket.c7
-rw-r--r--sys/kern/sysv_msg.c4
-rw-r--r--sys/kern/sysv_sem.c4
-rw-r--r--sys/kern/sysv_shm.c5
-rw-r--r--sys/kern/tty_compat.c7
-rw-r--r--sys/kern/uipc_mbuf.c5
-rw-r--r--sys/kern/uipc_proto.c3
-rw-r--r--sys/kern/vfs_cluster.c6
-rw-r--r--sys/kern/vfs_init.c9
21 files changed, 21 insertions, 92 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c
index 526aac7..c4d04b5 100644
--- a/sys/kern/imgact_shell.c
+++ b/sys/kern/imgact_shell.c
@@ -23,17 +23,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: imgact_shell.c,v 1.14 1997/02/22 09:38:57 peter Exp $
+ * $Id: imgact_shell.c,v 1.15 1997/04/23 22:07:04 ache Exp $
*/
#include <sys/param.h>
-#include <sys/systm.h>
#include <sys/sysproto.h>
-#include <sys/resourcevar.h>
#include <sys/exec.h>
#include <sys/imgact.h>
#include <sys/kernel.h>
-#include <machine/endian.h>
#if BYTE_ORDER == LITTLE_ENDIAN
#define SHELLMAGIC 0x2123 /* #! */
diff --git a/sys/kern/inflate.c b/sys/kern/inflate.c
index 2024bc1..e462198 100644
--- a/sys/kern/inflate.c
+++ b/sys/kern/inflate.c
@@ -7,7 +7,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id$
+ * $Id: inflate.c,v 1.8 1997/02/22 09:38:58 peter Exp $
*
*
*/
@@ -17,7 +17,6 @@
#ifdef KERNEL
#include <sys/systm.h>
#endif
-#include <sys/mman.h>
#include <sys/malloc.h>
/* needed to make inflate() work */
diff --git a/sys/kern/init_sysvec.c b/sys/kern/init_sysvec.c
index 379a1bf..3e20383 100644
--- a/sys/kern/init_sysvec.c
+++ b/sys/kern/init_sysvec.c
@@ -1,14 +1,11 @@
/*
* sysentvec for native FreeBSD a.out executable format.
*
- * $Id$
+ * $Id: init_sysvec.c,v 1.4 1997/02/22 09:38:59 peter Exp $
*/
-#include <sys/types.h>
#include <sys/param.h>
-#include <sys/mount.h>
#include <sys/sysent.h>
-#include <sys/sysproto.h>
#include <sys/syscall.h>
#include <sys/signalvar.h>
#include <machine/md_var.h>
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 8d03d23..f7db620 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -30,11 +30,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_conf.c,v 1.16 1997/02/22 09:39:03 peter Exp $
+ * $Id: kern_conf.c,v 1.17 1997/06/02 04:56:38 julian Exp $
*/
#include <sys/param.h>
-#include <sys/types.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/vnode.h>
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 27d20c9..3801665 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -23,13 +23,12 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: kern_intr.c,v 1.7 1997/06/08 17:15:22 ache Exp $
+ * $Id: kern_intr.c,v 1.8 1997/07/09 18:06:25 ache Exp $
*
*/
#include <sys/types.h>
#include <sys/malloc.h>
-#include <sys/time.h>
#include <sys/systm.h>
#include <sys/errno.h>
#ifdef RESOURCE_CHECK
@@ -44,8 +43,6 @@
#include <stddef.h>
-#include "vector.h"
-
typedef struct intrec {
intrmask_t mask;
inthand2_t *handler;
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 2a4e6cd..08c20ae 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -23,15 +23,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: kern_linker.c,v 1.1 1997/05/07 16:05:30 dfr Exp $
*/
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <sys/sysctl.h>
-#include <sys/queue.h>
-#include <sys/libkern.h>
#include <sys/malloc.h>
#include <sys/sysproto.h>
#include <sys/sysent.h>
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c
index 5d856ae..738de5b 100644
--- a/sys/kern/kern_lkm.c
+++ b/sys/kern/kern_lkm.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_lkm.c,v 1.39 1997/03/24 11:24:35 bde Exp $
+ * $Id: kern_lkm.c,v 1.40 1997/04/06 11:08:19 dufault Exp $
*/
#include <sys/param.h>
@@ -39,14 +39,11 @@
#include <sys/tty.h>
#include <sys/conf.h>
#include <sys/fcntl.h>
-#include <sys/proc.h>
-#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/sysent.h>
#include <sys/exec.h>
-#include <sys/imgact.h>
#include <sys/lkm.h>
#include <sys/vnode.h>
#ifdef DEVFS
@@ -54,7 +51,6 @@
#endif /*DEVFS*/
#include <vm/vm.h>
-#include <vm/vm_param.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c
index 8a4048a..fa631a7 100644
--- a/sys/kern/kern_module.c
+++ b/sys/kern/kern_module.c
@@ -23,15 +23,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: kern_module.c,v 1.1 1997/05/07 16:05:31 dfr Exp $
*/
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <sys/sysctl.h>
#include <sys/queue.h>
-#include <sys/libkern.h>
#include <sys/malloc.h>
#include <sys/sysproto.h>
#include <sys/sysent.h>
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index 9ddcaab..21c153f 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_proc.c 8.7 (Berkeley) 2/14/95
- * $Id: kern_proc.c,v 1.26 1997/03/24 11:24:36 bde Exp $
+ * $Id: kern_proc.c,v 1.27 1997/06/27 15:42:05 tegge Exp $
*/
#include <sys/param.h>
@@ -39,19 +39,10 @@
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
-#include <sys/buf.h>
-#include <sys/acct.h>
-#include <sys/wait.h>
-#include <sys/file.h>
-#include <ufs/ufs/quota.h>
-#include <sys/uio.h>
#include <sys/malloc.h>
-#include <sys/mbuf.h>
#include <sys/tty.h>
#include <sys/signalvar.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/vm_prot.h>
#include <sys/lock.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 27db363..7843b7a 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_prot.c 8.6 (Berkeley) 1/21/94
- * $Id: kern_prot.c,v 1.31 1997/03/31 15:13:33 peter Exp $
+ * $Id: kern_prot.c,v 1.32 1997/04/02 17:05:49 peter Exp $
*/
/*
@@ -47,10 +47,7 @@
#include <sys/acct.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
-#include <sys/ucred.h>
#include <sys/proc.h>
-#include <sys/timeb.h>
-#include <sys/times.h>
#include <sys/malloc.h>
#include <sys/unistd.h>
diff --git a/sys/kern/link_aout.c b/sys/kern/link_aout.c
index 5fd3f87..662a4a9 100644
--- a/sys/kern/link_aout.c
+++ b/sys/kern/link_aout.c
@@ -23,17 +23,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: link_aout.c,v 1.1 1997/05/07 16:05:32 dfr Exp $
*/
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <sys/sysctl.h>
-#include <sys/queue.h>
-#include <sys/libkern.h>
#include <sys/malloc.h>
-#include <sys/sysproto.h>
#include <sys/proc.h>
#include <sys/namei.h>
#include <sys/fcntl.h>
@@ -41,8 +37,6 @@
#include <sys/linker.h>
#include <a.out.h>
#include <link.h>
-#include <machine/reloc.h>
-#include <sys/imgact_aout.h>
static int link_aout_load_file(const char*, linker_file_t*);
diff --git a/sys/kern/md5c.c b/sys/kern/md5c.c
index 583d009..24dca79 100644
--- a/sys/kern/md5c.c
+++ b/sys/kern/md5c.c
@@ -22,7 +22,7 @@
* These notices must be retained in any copies of any part of this
* documentation and/or software.
*
- * $Id$
+ * $Id: md5c.c,v 1.8 1997/02/22 09:39:14 peter Exp $
*
* This code is the same as the code published by RSA Inc. It has been
* edited for clarity and style only.
@@ -31,7 +31,6 @@
#include <sys/types.h>
#ifdef KERNEL
-#include <sys/param.h>
#include <sys/systm.h>
#else
#include <string.h>
diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c
index 0c3b495..8e9e90e 100644
--- a/sys/kern/sys_socket.c
+++ b/sys/kern/sys_socket.c
@@ -31,19 +31,14 @@
* SUCH DAMAGE.
*
* @(#)sys_socket.c 8.1 (Berkeley) 6/10/93
- * $Id: sys_socket.c,v 1.12 1997/03/24 11:52:26 bde Exp $
+ * $Id: sys_socket.c,v 1.13 1997/04/27 20:00:42 wollman Exp $
*/
#include <sys/param.h>
-#include <sys/queue.h>
#include <sys/systm.h>
-#include <sys/proc.h>
-#include <sys/fcntl.h>
#include <sys/file.h>
-#include <sys/mbuf.h>
#include <sys/protosw.h>
#include <sys/socket.h>
-#include <sys/stat.h>
#include <sys/socketvar.h>
#include <sys/filio.h> /* XXX */
#include <sys/sockio.h>
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c
index d6e695f..1766d8f 100644
--- a/sys/kern/sysv_msg.c
+++ b/sys/kern/sysv_msg.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: sysv_msg.c,v 1.15 1997/02/22 09:39:22 peter Exp $ */
/*
* Implementation of SVID messages
@@ -19,8 +19,6 @@
* This software is provided ``AS IS'' without any warranties of any kind.
*/
-#include "opt_sysvipc.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c
index e66ddc6..a7f3a06 100644
--- a/sys/kern/sysv_sem.c
+++ b/sys/kern/sysv_sem.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: sysv_sem.c,v 1.18 1997/02/22 09:39:22 peter Exp $ */
/*
* Implementation of SVID semaphores
@@ -8,8 +8,6 @@
* This software is provided ``AS IS'' without any warranties of any kind.
*/
-#include "opt_sysvipc.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index 9e93923..be68b1b 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: sysv_shm.c,v 1.28 1997/02/22 09:39:23 peter Exp $ */
/* $NetBSD: sysv_shm.c,v 1.23 1994/07/04 23:25:12 glass Exp $ */
/*
@@ -31,7 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "opt_sysvipc.h"
#include "opt_rlimit.h"
#include <sys/param.h>
@@ -52,8 +51,6 @@
#include <vm/pmap.h>
#include <vm/vm_object.h>
#include <vm/vm_map.h>
-#include <vm/vm_kern.h>
-#include <vm/vm_extern.h>
#include <vm/vm_pager.h>
#include <vm/vm_inherit.h>
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c
index ed58c6a..71959cd 100644
--- a/sys/kern/tty_compat.c
+++ b/sys/kern/tty_compat.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_compat.c 8.1 (Berkeley) 6/10/93
- * $Id: tty_compat.c,v 1.21 1997/02/22 09:39:24 peter Exp $
+ * $Id: tty_compat.c,v 1.22 1997/03/24 12:03:03 bde Exp $
*/
/*
@@ -42,14 +42,9 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ioctl_compat.h>
-#include <sys/proc.h>
#include <sys/tty.h>
-#include <sys/termios.h>
-#include <sys/file.h>
-#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
-#include <sys/syslog.h>
static int ttcompatgetflags __P((struct tty *tp));
static void ttcompatsetflags __P((struct tty *tp, struct termios *t));
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 7032e44..a2551bf 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -31,23 +31,20 @@
* SUCH DAMAGE.
*
* @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
- * $Id: uipc_mbuf.c,v 1.28 1997/02/18 20:43:05 wollman Exp $
+ * $Id: uipc_mbuf.c,v 1.29 1997/02/24 20:30:55 wollman Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/malloc.h>
#define MBTYPES
#include <sys/mbuf.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
-#include <sys/syslog.h>
#include <sys/domain.h>
#include <sys/protosw.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
diff --git a/sys/kern/uipc_proto.c b/sys/kern/uipc_proto.c
index bcd918c..c5bae86 100644
--- a/sys/kern/uipc_proto.c
+++ b/sys/kern/uipc_proto.c
@@ -31,13 +31,12 @@
* SUCH DAMAGE.
*
* @(#)uipc_proto.c 8.1 (Berkeley) 6/10/93
- * $Id: uipc_proto.c,v 1.11 1997/04/14 18:23:48 phk Exp $
+ * $Id: uipc_proto.c,v 1.12 1997/04/27 20:00:43 wollman Exp $
*/
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/domain.h>
-#include <sys/mbuf.h>
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 5f926b9..304d4d3 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94
- * $Id: vfs_cluster.c,v 1.46 1997/04/25 11:14:00 dfr Exp $
+ * $Id: vfs_cluster.c,v 1.47 1997/06/15 17:56:49 dyson Exp $
*/
#include <sys/param.h>
@@ -42,12 +42,8 @@
#include <sys/buf.h>
#include <sys/vnode.h>
#include <sys/mount.h>
-#include <sys/malloc.h>
#include <sys/resourcevar.h>
-#include <sys/vmmeter.h>
-#include <miscfs/specfs/specdev.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
#include <vm/vm_prot.h>
#include <vm/vm_object.h>
#include <vm/vm_page.h>
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index 21061e8..5754b62 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_init.c 8.3 (Berkeley) 1/4/94
- * $Id: vfs_init.c,v 1.24 1997/02/22 09:39:32 peter Exp $
+ * $Id: vfs_init.c,v 1.25 1997/03/02 11:06:21 bde Exp $
*/
@@ -44,15 +44,8 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/mount.h>
-#include <sys/time.h>
#include <sys/vnode.h>
-#include <sys/stat.h>
-#include <sys/namei.h>
-#include <sys/ucred.h>
-#include <sys/buf.h>
-#include <sys/errno.h>
#include <sys/malloc.h>
-#include <sys/proc.h>
static void vfs_op_init __P((void));
OpenPOWER on IntegriCloud