summaryrefslogtreecommitdiffstats
path: root/sys/fs
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/fs
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/fs')
-rw-r--r--sys/fs/devfs/devfs_vnops.c1
-rw-r--r--sys/fs/ntfs/ntfs_subr.c1
-rw-r--r--sys/fs/umapfs/umap_vfsops.c1
-rw-r--r--sys/fs/unionfs/union_vnops.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index e3c717e..fd74abd 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -42,7 +42,6 @@
#include <sys/conf.h>
#include <sys/vnode.h>
#include <sys/malloc.h>
-#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/dirent.h>
diff --git a/sys/fs/ntfs/ntfs_subr.c b/sys/fs/ntfs/ntfs_subr.c
index f060e5b..839f752 100644
--- a/sys/fs/ntfs/ntfs_subr.c
+++ b/sys/fs/ntfs/ntfs_subr.c
@@ -32,7 +32,6 @@
#include <sys/types.h>
#include <sys/systm.h>
#include <sys/namei.h>
-#include <sys/proc.h>
#include <sys/kernel.h>
#include <sys/vnode.h>
#include <sys/mount.h>
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c
index ebf9ce4..6457897 100644
--- a/sys/fs/umapfs/umap_vfsops.c
+++ b/sys/fs/umapfs/umap_vfsops.c
@@ -46,7 +46,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/mount.h>
#include <sys/namei.h>
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index d7b95f3..f27dd28 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -40,7 +40,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/kernel.h>
OpenPOWER on IntegriCloud