summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-29 16:06:56 +0000
committerphk <phk@FreeBSD.org>2000-10-29 16:06:56 +0000
commitff5cdfae2d43687676881bd95b27cb1781a8baab (patch)
tree3a0dc85f55280f8af0b29effb14ef7ca2aacb220 /sys/dev
parent9c7c34c6a0baffc7ddae058f6497b0246a417f78 (diff)
downloadFreeBSD-src-ff5cdfae2d43687676881bd95b27cb1781a8baab.zip
FreeBSD-src-ff5cdfae2d43687676881bd95b27cb1781a8baab.tar.gz
Move suser() and suser_xxx() prototypes and a related #define from
<sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/an/if_an.c1
-rw-r--r--sys/dev/asr/asr.c1
-rw-r--r--sys/dev/ata/atapi-cd.c1
-rw-r--r--sys/dev/awi/awi.c1
-rw-r--r--sys/dev/awi/awi_wep.c1
-rw-r--r--sys/dev/awi/awi_wicfg.c1
-rw-r--r--sys/dev/cy/cy.c1
-rw-r--r--sys/dev/cy/cy_isa.c1
-rw-r--r--sys/dev/dgb/dgb.c1
-rw-r--r--sys/dev/dgb/dgm.c1
-rw-r--r--sys/dev/random/randomdev.c1
-rw-r--r--sys/dev/rc/rc.c1
-rw-r--r--sys/dev/rp/rp.c1
-rw-r--r--sys/dev/si/si.c1
-rw-r--r--sys/dev/snp/snp.c1
-rw-r--r--sys/dev/syscons/sysmouse.c1
-rw-r--r--sys/dev/usb/ohci.c1
-rw-r--r--sys/dev/wi/if_wi.c1
-rw-r--r--sys/dev/wl/if_wl.c1
19 files changed, 0 insertions, 19 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index e557d1f..6eadbf8 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -95,7 +95,6 @@
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/ucred.h>
#include <sys/socket.h>
#ifdef ANCACHE
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c
index 30dcfca..bfcabb2 100644
--- a/sys/dev/asr/asr.c
+++ b/sys/dev/asr/asr.c
@@ -181,7 +181,6 @@ static dpt_sig_S ASR_sig = {
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/disklabel.h>
#include <sys/bus.h>
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c
index 052ab35..c3509cf 100644
--- a/sys/dev/ata/atapi-cd.c
+++ b/sys/dev/ata/atapi-cd.c
@@ -31,7 +31,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/bio.h>
#include <sys/bus.h>
diff --git a/sys/dev/awi/awi.c b/sys/dev/awi/awi.c
index ef105ba..023796b 100644
--- a/sys/dev/awi/awi.c
+++ b/sys/dev/awi/awi.c
@@ -100,7 +100,6 @@
#include <sys/kernel.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/proc.h>
#include <sys/socket.h>
#include <sys/sockio.h>
#include <sys/errno.h>
diff --git a/sys/dev/awi/awi_wep.c b/sys/dev/awi/awi_wep.c
index 308cfcb..a8f76ec 100644
--- a/sys/dev/awi/awi_wep.c
+++ b/sys/dev/awi/awi_wep.c
@@ -55,7 +55,6 @@
#include <sys/kernel.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/proc.h>
#include <sys/socket.h>
#include <sys/errno.h>
#include <sys/sockio.h>
diff --git a/sys/dev/awi/awi_wicfg.c b/sys/dev/awi/awi_wicfg.c
index 76ff3ef..80882ba 100644
--- a/sys/dev/awi/awi_wicfg.c
+++ b/sys/dev/awi/awi_wicfg.c
@@ -46,7 +46,6 @@
#include <sys/kernel.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
-#include <sys/proc.h>
#include <sys/socket.h>
#include <sys/errno.h>
#include <sys/sockio.h>
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index a3997f9..4006807 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -70,7 +70,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/tty.h>
-#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index a3997f9..4006807 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -70,7 +70,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/tty.h>
-#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c
index 3fa1aaf..c62de45 100644
--- a/sys/dev/dgb/dgb.c
+++ b/sys/dev/dgb/dgb.c
@@ -46,7 +46,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/tty.h>
-#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/dgb/dgm.c b/sys/dev/dgb/dgm.c
index b74b804..6dd9f68 100644
--- a/sys/dev/dgb/dgm.c
+++ b/sys/dev/dgb/dgm.c
@@ -49,7 +49,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/tty.h>
-#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c
index 2f3e4a3..13230db 100644
--- a/sys/dev/random/randomdev.c
+++ b/sys/dev/random/randomdev.c
@@ -37,7 +37,6 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/poll.h>
-#include <sys/proc.h>
#include <sys/select.h>
#include <sys/random.h>
#include <sys/vnode.h>
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 11da8ac..2b55c52 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -42,7 +42,6 @@
#include <sys/ipl.h>
#include <sys/kernel.h>
#include <sys/tty.h>
-#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/fcntl.h>
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 7014a5e..a12110e 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -41,7 +41,6 @@
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/tty.h>
-#include <sys/proc.h>
#include <sys/dkstat.h>
#include <sys/conf.h>
#include <sys/kernel.h>
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index d102430..28e6a42 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -48,7 +48,6 @@ static const char si_copyright1[] = "@(#) Copyright (C) Specialix International
#include <sys/ioctl_compat.h>
#endif
#include <sys/tty.h>
-#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/fcntl.h>
#include <sys/dkstat.h>
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index 5c89ba2..648a6a5 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -23,7 +23,6 @@
#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
#include <sys/ioctl_compat.h>
#endif
-#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/tty.h>
#include <sys/conf.h>
diff --git a/sys/dev/syscons/sysmouse.c b/sys/dev/syscons/sysmouse.c
index 49a1248..34f914b 100644
--- a/sys/dev/syscons/sysmouse.c
+++ b/sys/dev/syscons/sysmouse.c
@@ -31,7 +31,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
-#include <sys/proc.h>
#include <sys/tty.h>
#include <sys/kernel.h>
#include <sys/consio.h>
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 9d584d9..f559faa 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -61,7 +61,6 @@
#include <machine/cpu.h>
#endif
#endif
-#include <sys/proc.h>
#include <sys/queue.h>
#include <machine/bus.h>
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 63b456c..bbc74c0 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -73,7 +73,6 @@
#include <sys/sockio.h>
#include <sys/mbuf.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/ucred.h>
#include <sys/socket.h>
#include <sys/module.h>
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 66e8422..e1aec04 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -199,7 +199,6 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/syslog.h>
-#include <sys/proc.h>
#include <sys/bus.h>
#include <sys/sysctl.h>
OpenPOWER on IntegriCloud