summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-08-11 23:21:13 +0000
committerart <art@openbsd.org>2001-08-11 23:21:13 +0000
commit38a9451aa766869cb7f191c8e3cd770ee13afada (patch)
tree56a7f13d58b26a3c15475225aa06f8b90c375228
parentWhy is it so popular to include <vm/*.h> everywhere? (diff)
downloadwireguard-openbsd-38a9451aa766869cb7f191c8e3cd770ee13afada.tar.xz
wireguard-openbsd-38a9451aa766869cb7f191c8e3cd770ee13afada.zip
Unnecessary and redundant includes.
-rw-r--r--sys/arch/hp300/hp300/hpux_machdep.c4
-rw-r--r--sys/arch/mac68k/dev/nubus.c4
-rw-r--r--sys/arch/mac68k/mac68k/vm_machdep.c4
-rw-r--r--sys/arch/mvme68k/mvme68k/hpux_machdep.c4
-rw-r--r--sys/arch/mvme88k/dev/if_ve.c3
-rw-r--r--sys/arch/mvme88k/dev/vme.c3
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/vm_machdep.c3
-rw-r--r--sys/arch/sun3/sun3/autoconf.c3
-rw-r--r--sys/arch/sun3/sun3/dvma.c3
-rw-r--r--sys/arch/sun3/sun3/machdep.c4
-rw-r--r--sys/arch/sun3/sun3/mem.c3
-rw-r--r--sys/compat/hpux/hpux_exec.c4
-rw-r--r--sys/compat/linux/linux_exec.c4
-rw-r--r--sys/compat/netbsd/netbsd_exec.c4
-rw-r--r--sys/compat/svr4/svr4_exec.c4
16 files changed, 16 insertions, 42 deletions
diff --git a/sys/arch/hp300/hp300/hpux_machdep.c b/sys/arch/hp300/hp300/hpux_machdep.c
index fb3ecb6b282..76ce58bf874 100644
--- a/sys/arch/hp300/hp300/hpux_machdep.c
+++ b/sys/arch/hp300/hp300/hpux_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpux_machdep.c,v 1.9 2001/06/27 04:05:45 art Exp $ */
+/* $OpenBSD: hpux_machdep.c,v 1.10 2001/08/11 23:21:13 art Exp $ */
/* $NetBSD: hpux_machdep.c,v 1.19 1998/02/16 20:58:30 thorpej Exp $ */
/*
@@ -75,8 +75,6 @@
#include <machine/vmparam.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/vm_map.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/mac68k/dev/nubus.c b/sys/arch/mac68k/dev/nubus.c
index b770f45dadb..bbe6e70d301 100644
--- a/sys/arch/mac68k/dev/nubus.c
+++ b/sys/arch/mac68k/dev/nubus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nubus.c,v 1.18 2001/07/25 13:25:32 art Exp $ */
+/* $OpenBSD: nubus.c,v 1.19 2001/08/11 23:21:13 art Exp $ */
/* $NetBSD: nubus.c,v 1.35 1997/04/22 20:20:32 scottr Exp $ */
/*
@@ -38,8 +38,6 @@
#include <sys/dmap.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
-#include <vm/vm_map.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c
index ee7036db3b1..f59955cfca7 100644
--- a/sys/arch/mac68k/mac68k/vm_machdep.c
+++ b/sys/arch/mac68k/mac68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.22 2001/07/25 13:25:32 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.23 2001/08/11 23:21:13 art Exp $ */
/* $NetBSD: vm_machdep.c,v 1.29 1998/07/28 18:34:55 thorpej Exp $ */
/*
@@ -56,8 +56,6 @@
#include <sys/exec.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
-#include <vm/vm_map.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/mvme68k/mvme68k/hpux_machdep.c b/sys/arch/mvme68k/mvme68k/hpux_machdep.c
index 5c323874978..412fef63467 100644
--- a/sys/arch/mvme68k/mvme68k/hpux_machdep.c
+++ b/sys/arch/mvme68k/mvme68k/hpux_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpux_machdep.c,v 1.3 2001/06/27 04:19:17 art Exp $ */
+/* $OpenBSD: hpux_machdep.c,v 1.4 2001/08/11 23:21:13 art Exp $ */
/* $NetBSD: hpux_machdep.c,v 1.9 1997/03/16 10:00:45 thorpej Exp $ */
/*
@@ -73,8 +73,6 @@
#include <machine/vmparam.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/vm_map.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/mvme88k/dev/if_ve.c b/sys/arch/mvme88k/dev/if_ve.c
index 15ad3fc720e..f0be73cd82a 100644
--- a/sys/arch/mvme88k/dev/if_ve.c
+++ b/sys/arch/mvme88k/dev/if_ve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ve.c,v 1.7 2001/07/09 22:28:27 fgsch Exp $ */
+/* $OpenBSD: if_ve.c,v 1.8 2001/08/11 23:21:13 art Exp $ */
/*-
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1982, 1992, 1993
@@ -67,7 +67,6 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_map.h>
#include <vm/vm_kern.h>
#include <machine/autoconf.h>
diff --git a/sys/arch/mvme88k/dev/vme.c b/sys/arch/mvme88k/dev/vme.c
index 0b7f6cd7ef0..85f3da607e3 100644
--- a/sys/arch/mvme88k/dev/vme.c
+++ b/sys/arch/mvme88k/dev/vme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vme.c,v 1.9 2001/03/09 05:44:39 smurph Exp $ */
+/* $OpenBSD: vme.c,v 1.10 2001/08/11 23:21:13 art Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1995 Theo de Raadt
@@ -43,7 +43,6 @@
#include <sys/fcntl.h>
#include <sys/device.h>
#include <vm/vm.h>
-#include <vm/vm_map.h>
#include <vm/vm_kern.h>
#include "machine/autoconf.h"
#include "machine/cpu.h"
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index 0fb0fc1712e..2889635317c 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.49 2001/08/11 01:57:25 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.50 2001/08/11 23:21:13 art Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -95,9 +95,7 @@
#include <dev/cons.h>
#include <vm/vm.h>
-#include <vm/vm_map.h>
#include <vm/vm_kern.h>
-#include <vm/vm_page.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/mvme88k/mvme88k/vm_machdep.c b/sys/arch/mvme88k/mvme88k/vm_machdep.c
index c6f9f6dea25..20b4b50db2b 100644
--- a/sys/arch/mvme88k/mvme88k/vm_machdep.c
+++ b/sys/arch/mvme88k/mvme88k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.30 2001/08/11 01:54:07 miod Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.31 2001/08/11 23:21:14 art Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -58,7 +58,6 @@
#include <vm/vm.h>
#include <vm/vm_kern.h>
-#include <vm/vm_map.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/sun3/sun3/autoconf.c b/sys/arch/sun3/sun3/autoconf.c
index 40a01761f26..cd690b507a7 100644
--- a/sys/arch/sun3/sun3/autoconf.c
+++ b/sys/arch/sun3/sun3/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.14 2001/07/25 13:25:33 art Exp $ */
+/* $OpenBSD: autoconf.c,v 1.15 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: autoconf.c,v 1.37 1996/11/20 18:57:22 gwr Exp $ */
/*-
@@ -61,7 +61,6 @@
#include <vm/vm.h>
#include <vm/vm_kern.h>
-#include <vm/vm_map.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/sun3/sun3/dvma.c b/sys/arch/sun3/sun3/dvma.c
index 7cc5d4466de..fb9d3909118 100644
--- a/sys/arch/sun3/sun3/dvma.c
+++ b/sys/arch/sun3/sun3/dvma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvma.c,v 1.11 2001/06/27 04:44:02 art Exp $ */
+/* $OpenBSD: dvma.c,v 1.12 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: dvma.c,v 1.5 1996/11/20 18:57:29 gwr Exp $ */
/*-
@@ -51,7 +51,6 @@
#include <vm/vm.h>
#include <vm/vm_kern.h>
-#include <vm/vm_map.h>
#include <uvm/uvm.h>
diff --git a/sys/arch/sun3/sun3/machdep.c b/sys/arch/sun3/sun3/machdep.c
index 68f130b2026..d070f36b9e3 100644
--- a/sys/arch/sun3/sun3/machdep.c
+++ b/sys/arch/sun3/sun3/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.35 2001/07/25 13:25:33 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.36 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: machdep.c,v 1.77 1996/10/13 03:47:51 christos Exp $ */
/*
@@ -80,9 +80,7 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_map.h>
#include <vm/vm_kern.h>
-#include <vm/vm_page.h>
#include <uvm/uvm_extern.h>
diff --git a/sys/arch/sun3/sun3/mem.c b/sys/arch/sun3/sun3/mem.c
index d52f1c8e97a..e38d40ccb77 100644
--- a/sys/arch/sun3/sun3/mem.c
+++ b/sys/arch/sun3/sun3/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.13 2001/07/25 13:25:33 art Exp $ */
+/* $OpenBSD: mem.c,v 1.14 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: mem.c,v 1.19 1995/08/08 21:09:01 gwr Exp $ */
/*
@@ -57,7 +57,6 @@
#include <vm/vm.h>
#include <vm/vm_kern.h>
-#include <vm/vm_map.h>
#include <machine/conf.h>
#include <machine/cpu.h>
diff --git a/sys/compat/hpux/hpux_exec.c b/sys/compat/hpux/hpux_exec.c
index db5b70d08ce..248b7b34179 100644
--- a/sys/compat/hpux/hpux_exec.c
+++ b/sys/compat/hpux/hpux_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpux_exec.c,v 1.11 1999/11/26 16:44:27 art Exp $ */
+/* $OpenBSD: hpux_exec.c,v 1.12 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: hpux_exec.c,v 1.8 1997/03/16 10:14:44 thorpej Exp $ */
/*
@@ -48,8 +48,6 @@
#include <sys/stat.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/vm_map.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c
index 02a4fd56ca3..821eaca947b 100644
--- a/sys/compat/linux/linux_exec.c
+++ b/sys/compat/linux/linux_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_exec.c,v 1.15 2001/04/01 21:30:33 art Exp $ */
+/* $OpenBSD: linux_exec.c,v 1.16 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */
/*
@@ -47,8 +47,6 @@
#include <sys/syscallargs.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/vm_map.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/netbsd/netbsd_exec.c b/sys/compat/netbsd/netbsd_exec.c
index 40f7575dc6f..158be318f28 100644
--- a/sys/compat/netbsd/netbsd_exec.c
+++ b/sys/compat/netbsd/netbsd_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_exec.c,v 1.6 1999/11/10 15:55:22 mickey Exp $ */
+/* $OpenBSD: netbsd_exec.c,v 1.7 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -39,8 +39,6 @@
#include <sys/mman.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/vm_map.h>
#include <machine/cpu.h>
#include <machine/reg.h>
diff --git a/sys/compat/svr4/svr4_exec.c b/sys/compat/svr4/svr4_exec.c
index 7103ee53de5..f8a494d2bdf 100644
--- a/sys/compat/svr4/svr4_exec.c
+++ b/sys/compat/svr4/svr4_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_exec.c,v 1.10 2000/08/23 16:33:20 brad Exp $ */
+/* $OpenBSD: svr4_exec.c,v 1.11 2001/08/11 23:21:14 art Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -41,8 +41,6 @@
#include <sys/mman.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/vm_map.h>
#include <machine/cpu.h>
#include <machine/reg.h>