summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ifs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-29 14:54:55 +0000
committerphk <phk@FreeBSD.org>2000-10-29 14:54:55 +0000
commitf82e4ca62c2bea6ce2d8c4f72263cb29a85f00b3 (patch)
treeb1d0738da6383c4d7f36d17389b606eada8d11c4 /sys/ufs/ifs
parent38695be04c0d41b71e4ab0cb48afa0d2320cffbc (diff)
downloadFreeBSD-src-f82e4ca62c2bea6ce2d8c4f72263cb29a85f00b3.zip
FreeBSD-src-f82e4ca62c2bea6ce2d8c4f72263cb29a85f00b3.tar.gz
Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing
the offending inline function (BUF_KERNPROC) on it being #included already. I'm not sure BUF_KERNPROC() is even the right thing to do or in the right place or implemented the right way (inline vs normal function). Remove consequently unneeded #includes of <sys/proc.h>
Diffstat (limited to 'sys/ufs/ifs')
-rw-r--r--sys/ufs/ifs/ifs_lookup.c1
-rw-r--r--sys/ufs/ifs/ifs_subr.c1
-rw-r--r--sys/ufs/ifs/ifs_vfsops.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/ufs/ifs/ifs_lookup.c b/sys/ufs/ifs/ifs_lookup.c
index 47c7f11..7f65967 100644
--- a/sys/ufs/ifs/ifs_lookup.c
+++ b/sys/ufs/ifs/ifs_lookup.c
@@ -42,7 +42,6 @@
#include <sys/namei.h>
#include <sys/bio.h>
#include <sys/buf.h>
-#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/mount.h>
#include <sys/vnode.h>
diff --git a/sys/ufs/ifs/ifs_subr.c b/sys/ufs/ifs/ifs_subr.c
index b1c213b..dfd5cff 100644
--- a/sys/ufs/ifs/ifs_subr.c
+++ b/sys/ufs/ifs/ifs_subr.c
@@ -42,7 +42,6 @@
#include <sys/stat.h>
#include <sys/bio.h>
#include <sys/buf.h>
-#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/conf.h>
diff --git a/sys/ufs/ifs/ifs_vfsops.c b/sys/ufs/ifs/ifs_vfsops.c
index e607d54..ec1abd9 100644
--- a/sys/ufs/ifs/ifs_vfsops.c
+++ b/sys/ufs/ifs/ifs_vfsops.c
@@ -41,7 +41,6 @@
#include <sys/param.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>
OpenPOWER on IntegriCloud