diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-06-26 23:24:46 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-06-26 23:24:46 +0000 |
commit | eb23aac2d7eb652ee88e15b7d32db9f5f6b307b4 (patch) | |
tree | 03429ad5db3924bb64a9dc031b6ea1931ca9c8e6 /sys/arch/vax | |
parent | b67846532dd844d067cf0399f4ba4c50503dbc14 (diff) |
Don't #include <sys/user.h> into files that don't need the stuff
it defines. In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise. Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/qbus/uba.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/uba/qv.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vax/cfl.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vax/crl.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vsa/asc_vsbus.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vsa/hdc9224.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/vsa/ncr.c | 3 |
7 files changed, 7 insertions, 14 deletions
diff --git a/sys/arch/vax/qbus/uba.c b/sys/arch/vax/qbus/uba.c index 2e2a37c0d02..ae3ca6d7f3e 100644 --- a/sys/arch/vax/qbus/uba.c +++ b/sys/arch/vax/qbus/uba.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uba.c,v 1.11 2005/11/24 04:52:26 brad Exp $ */ +/* $OpenBSD: uba.c,v 1.12 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: uba.c,v 1.57 2001/04/26 19:16:07 ragge Exp $ */ /* * Copyright (c) 1996 Jonathan Stone. @@ -40,7 +40,6 @@ #include <sys/systm.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/conf.h> #include <sys/dkstat.h> #include <sys/kernel.h> diff --git a/sys/arch/vax/uba/qv.c b/sys/arch/vax/uba/qv.c index a70bc1345e1..ff4654e361b 100644 --- a/sys/arch/vax/uba/qv.c +++ b/sys/arch/vax/uba/qv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qv.c,v 1.14 2010/04/12 12:57:52 tedu Exp $ */ +/* $OpenBSD: qv.c,v 1.15 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: qv.c,v 1.2 1996/09/02 06:44:28 mycroft Exp $ */ /*- @@ -131,7 +131,6 @@ #include <sys/param.h> #include <sys/conf.h> -#include <sys/user.h> #include <vax/uba/qvioctl.h> #include <sys/tty.h> #include <sys/map.h> diff --git a/sys/arch/vax/vax/cfl.c b/sys/arch/vax/vax/cfl.c index 755dc404b60..547241a1ee7 100644 --- a/sys/arch/vax/vax/cfl.c +++ b/sys/arch/vax/vax/cfl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfl.c,v 1.6 2006/01/20 23:27:26 miod Exp $ */ +/* $OpenBSD: cfl.c,v 1.7 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: cfl.c,v 1.2 1998/04/13 12:10:26 ragge Exp $ */ /*- * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -42,7 +42,6 @@ #include <sys/systm.h> #include <sys/conf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/buf.h> #include <machine/cpu.h> diff --git a/sys/arch/vax/vax/crl.c b/sys/arch/vax/vax/crl.c index d940f7fca65..64ff68cf650 100644 --- a/sys/arch/vax/vax/crl.c +++ b/sys/arch/vax/vax/crl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crl.c,v 1.8 2006/01/20 23:27:26 miod Exp $ */ +/* $OpenBSD: crl.c,v 1.9 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: crl.c,v 1.6 2000/01/24 02:40:33 matt Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -40,7 +40,6 @@ #include <sys/systm.h> #include <sys/conf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/buf.h> #include <machine/cpu.h> diff --git a/sys/arch/vax/vsa/asc_vsbus.c b/sys/arch/vax/vsa/asc_vsbus.c index f331df902a6..f4e5397911d 100644 --- a/sys/arch/vax/vsa/asc_vsbus.c +++ b/sys/arch/vax/vsa/asc_vsbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asc_vsbus.c,v 1.10 2009/02/16 21:19:06 miod Exp $ */ +/* $OpenBSD: asc_vsbus.c,v 1.11 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: asc_vsbus.c,v 1.22 2001/02/04 20:36:32 ragge Exp $ */ /*- @@ -41,7 +41,6 @@ #include <sys/device.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/reboot.h> #include <sys/queue.h> diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c index 605549cb5b7..9acd6581058 100644 --- a/sys/arch/vax/vsa/hdc9224.c +++ b/sys/arch/vax/vsa/hdc9224.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hdc9224.c,v 1.28 2010/05/22 17:10:23 deraadt Exp $ */ +/* $OpenBSD: hdc9224.c,v 1.29 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -61,7 +61,6 @@ #include <sys/dkio.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/device.h> #include <sys/disklabel.h> #include <sys/disk.h> diff --git a/sys/arch/vax/vsa/ncr.c b/sys/arch/vax/vsa/ncr.c index ebdabaaad3c..769286f1039 100644 --- a/sys/arch/vax/vsa/ncr.c +++ b/sys/arch/vax/vsa/ncr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr.c,v 1.25 2009/02/16 21:19:06 miod Exp $ */ +/* $OpenBSD: ncr.c,v 1.26 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: ncr.c,v 1.32 2000/06/25 16:00:43 ragge Exp $ */ /*- @@ -51,7 +51,6 @@ #include <sys/buf.h> #include <sys/disk.h> #include <sys/proc.h> -#include <sys/user.h> #include <uvm/uvm_extern.h> |