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/sparc/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/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/dma.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/esp.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/lebuffer.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/qec.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/si.c | 3 |
5 files changed, 5 insertions, 10 deletions
diff --git a/sys/arch/sparc/dev/dma.c b/sys/arch/sparc/dev/dma.c index 8d1f1224de4..a6622630094 100644 --- a/sys/arch/sparc/dev/dma.c +++ b/sys/arch/sparc/dev/dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dma.c,v 1.25 2008/12/26 15:13:07 miod Exp $ */ +/* $OpenBSD: dma.c,v 1.26 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: dma.c,v 1.46 1997/08/27 11:24:16 bouyer Exp $ */ /* @@ -36,7 +36,6 @@ #include <sys/malloc.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sparc/autoconf.h> #include <sparc/cpu.h> diff --git a/sys/arch/sparc/dev/esp.c b/sys/arch/sparc/dev/esp.c index e721fa68cb7..fbc50506ab1 100644 --- a/sys/arch/sparc/dev/esp.c +++ b/sys/arch/sparc/dev/esp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp.c,v 1.29 2010/06/07 19:54:33 miod Exp $ */ +/* $OpenBSD: esp.c,v 1.30 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: esp.c,v 1.69 1997/08/27 11:24:18 bouyer Exp $ */ /* @@ -105,7 +105,6 @@ #include <sys/device.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/queue.h> #include <sys/malloc.h> diff --git a/sys/arch/sparc/dev/lebuffer.c b/sys/arch/sparc/dev/lebuffer.c index 74c5445bf78..bed9669017a 100644 --- a/sys/arch/sparc/dev/lebuffer.c +++ b/sys/arch/sparc/dev/lebuffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lebuffer.c,v 1.7 2008/12/26 15:13:07 miod Exp $ */ +/* $OpenBSD: lebuffer.c,v 1.8 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: lebuffer.c,v 1.3 1997/05/24 20:16:28 pk Exp $ */ /* @@ -40,7 +40,6 @@ #include <sys/malloc.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sparc/autoconf.h> #include <sparc/cpu.h> diff --git a/sys/arch/sparc/dev/qec.c b/sys/arch/sparc/dev/qec.c index 6ea0d664e6c..332a7b5ba75 100644 --- a/sys/arch/sparc/dev/qec.c +++ b/sys/arch/sparc/dev/qec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qec.c,v 1.17 2006/06/02 20:00:54 miod Exp $ */ +/* $OpenBSD: qec.c,v 1.18 2010/06/26 23:24:44 guenther Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -35,7 +35,6 @@ #include <sys/malloc.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/mbuf.h> #include <sys/socket.h> diff --git a/sys/arch/sparc/dev/si.c b/sys/arch/sparc/dev/si.c index 60f5073766b..04835270bc9 100644 --- a/sys/arch/sparc/dev/si.c +++ b/sys/arch/sparc/dev/si.c @@ -1,4 +1,4 @@ -/* $OpenBSD: si.c,v 1.32 2009/02/16 21:19:06 miod Exp $ */ +/* $OpenBSD: si.c,v 1.33 2010/06/26 23:24:44 guenther Exp $ */ /* $NetBSD: si.c,v 1.38 1997/08/27 11:24:20 bouyer Exp $ */ /*- @@ -94,7 +94,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> |