summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-26 23:24:46 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-26 23:24:46 +0000
commiteb23aac2d7eb652ee88e15b7d32db9f5f6b307b4 (patch)
tree03429ad5db3924bb64a9dc031b6ea1931ca9c8e6 /sys/scsi
parentb67846532dd844d067cf0399f4ba4c50503dbc14 (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/scsi')
-rw-r--r--sys/scsi/ch.c3
-rw-r--r--sys/scsi/ss.c3
-rw-r--r--sys/scsi/ss_mustek.c3
-rw-r--r--sys/scsi/ss_scanjet.c3
-rw-r--r--sys/scsi/st.c3
5 files changed, 5 insertions, 10 deletions
diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c
index 35e1ce80e63..47da62265b1 100644
--- a/sys/scsi/ch.c
+++ b/sys/scsi/ch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ch.c,v 1.38 2010/06/15 04:11:34 dlg Exp $ */
+/* $OpenBSD: ch.c,v 1.39 2010/06/26 23:24:45 guenther Exp $ */
/* $NetBSD: ch.c,v 1.26 1997/02/21 22:06:52 thorpej Exp $ */
/*
@@ -43,7 +43,6 @@
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/chio.h>
#include <sys/device.h>
#include <sys/malloc.h>
diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c
index 236ddb5d748..adfab839b45 100644
--- a/sys/scsi/ss.c
+++ b/sys/scsi/ss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss.c,v 1.75 2010/06/26 21:27:55 krw Exp $ */
+/* $OpenBSD: ss.c,v 1.76 2010/06/26 23:24:45 guenther Exp $ */
/* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
/*
@@ -38,7 +38,6 @@
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/device.h>
#include <sys/conf.h>
#include <sys/scanio.h>
diff --git a/sys/scsi/ss_mustek.c b/sys/scsi/ss_mustek.c
index a8979d5e267..e70d91463ea 100644
--- a/sys/scsi/ss_mustek.c
+++ b/sys/scsi/ss_mustek.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss_mustek.c,v 1.23 2010/06/11 12:02:44 krw Exp $ */
+/* $OpenBSD: ss_mustek.c,v 1.24 2010/06/26 23:24:45 guenther Exp $ */
/* $NetBSD: ss_mustek.c,v 1.4 1996/05/05 19:52:57 christos Exp $ */
/*
@@ -55,7 +55,6 @@
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/device.h>
#include <sys/conf.h> /* for cdevsw */
#include <sys/scanio.h>
diff --git a/sys/scsi/ss_scanjet.c b/sys/scsi/ss_scanjet.c
index 9c66d7d0b15..4e200228b71 100644
--- a/sys/scsi/ss_scanjet.c
+++ b/sys/scsi/ss_scanjet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss_scanjet.c,v 1.40 2010/06/11 12:02:44 krw Exp $ */
+/* $OpenBSD: ss_scanjet.c,v 1.41 2010/06/26 23:24:45 guenther Exp $ */
/* $NetBSD: ss_scanjet.c,v 1.6 1996/05/18 22:58:01 christos Exp $ */
/*
@@ -42,7 +42,6 @@
#include <sys/ioctl.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/device.h>
#include <sys/conf.h> /* for cdevsw */
#include <sys/scanio.h>
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index cd5dc44f612..49efecd5da0 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.99 2010/06/25 04:29:39 dlg Exp $ */
+/* $OpenBSD: st.c,v 1.100 2010/06/26 23:24:45 guenther Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -65,7 +65,6 @@
#include <sys/malloc.h>
#include <sys/buf.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/mtio.h>
#include <sys/device.h>
#include <sys/conf.h>