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/luna88k | |
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/luna88k')
-rw-r--r-- | sys/arch/luna88k/dev/mb89352.c | 3 | ||||
-rw-r--r-- | sys/arch/luna88k/dev/siotty.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/luna88k/dev/mb89352.c b/sys/arch/luna88k/dev/mb89352.c index c3681d2a674..49a7a98b9ba 100644 --- a/sys/arch/luna88k/dev/mb89352.c +++ b/sys/arch/luna88k/dev/mb89352.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352.c,v 1.13 2010/05/20 00:55:17 krw Exp $ */ +/* $OpenBSD: mb89352.c,v 1.14 2010/06/26 23:24:43 guenther Exp $ */ /* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ @@ -127,7 +127,6 @@ #include <sys/device.h> #include <sys/buf.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/queue.h> #include <machine/intr.h> diff --git a/sys/arch/luna88k/dev/siotty.c b/sys/arch/luna88k/dev/siotty.c index 15f7185fdb6..695d452704e 100644 --- a/sys/arch/luna88k/dev/siotty.c +++ b/sys/arch/luna88k/dev/siotty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siotty.c,v 1.11 2010/04/12 12:57:52 tedu Exp $ */ +/* $OpenBSD: siotty.c,v 1.12 2010/06/26 23:24:43 guenther Exp $ */ /* $NetBSD: siotty.c,v 1.9 2002/03/17 19:40:43 atatat Exp $ */ /*- @@ -36,7 +36,6 @@ #include <sys/conf.h> #include <sys/ioctl.h> #include <sys/proc.h> -#include <sys/user.h> #include <sys/tty.h> #include <sys/uio.h> #include <sys/fcntl.h> |