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/mac68k/dev | |
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/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/esp.c | 3 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/sbc.c | 3 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/sbc_obio.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/mac68k/dev/esp.c b/sys/arch/mac68k/dev/esp.c index d61ddcc6cea..124d747e900 100644 --- a/sys/arch/mac68k/dev/esp.c +++ b/sys/arch/mac68k/dev/esp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp.c,v 1.28 2009/02/16 21:19:05 miod Exp $ */ +/* $OpenBSD: esp.c,v 1.29 2010/06/26 23:24:43 guenther Exp $ */ /* $NetBSD: esp.c,v 1.17 1998/09/05 15:15:35 pk Exp $ */ /* @@ -81,7 +81,6 @@ #include <sys/device.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/queue.h> #include <scsi/scsi_all.h> diff --git a/sys/arch/mac68k/dev/sbc.c b/sys/arch/mac68k/dev/sbc.c index 097843034b1..93ded6121c7 100644 --- a/sys/arch/mac68k/dev/sbc.c +++ b/sys/arch/mac68k/dev/sbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbc.c,v 1.18 2009/02/16 21:19:05 miod Exp $ */ +/* $OpenBSD: sbc.c,v 1.19 2010/06/26 23:24:43 guenther Exp $ */ /* $NetBSD: sbc.c,v 1.24 1997/04/18 17:38:08 scottr Exp $ */ /* @@ -57,7 +57,6 @@ #include <sys/device.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <scsi/scsi_all.h> #include <scsi/scsi_debug.h> diff --git a/sys/arch/mac68k/dev/sbc_obio.c b/sys/arch/mac68k/dev/sbc_obio.c index 7c4d00e9c0a..34c1b494557 100644 --- a/sys/arch/mac68k/dev/sbc_obio.c +++ b/sys/arch/mac68k/dev/sbc_obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbc_obio.c,v 1.15 2006/12/13 21:12:56 miod Exp $ */ +/* $OpenBSD: sbc_obio.c,v 1.16 2010/06/26 23:24:43 guenther Exp $ */ /* $NetBSD: sbc_obio.c,v 1.1 1997/03/01 20:18:59 scottr Exp $ */ /* @@ -39,7 +39,6 @@ #include <sys/device.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <scsi/scsi_all.h> #include <scsi/scsi_debug.h> |