summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-01-13 21:37:49 +0000
committeralfred <alfred@FreeBSD.org>2002-01-13 21:37:49 +0000
commit5e2f4cf200203b968666acb6979aaccf7d62bbf5 (patch)
tree6c0138650247c4667d104eeda26a13d70947bdb2 /sys/fs/fdescfs
parent2624e483f082b443613da8ffb57521327188691e (diff)
downloadFreeBSD-src-5e2f4cf200203b968666acb6979aaccf7d62bbf5.zip
FreeBSD-src-5e2f4cf200203b968666acb6979aaccf7d62bbf5.tar.gz
Include sys/_lock.h and sys/_mutex.h to reduce namespace pollution.
Requested by: jhb
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r--sys/fs/fdescfs/fdesc_vfsops.c1
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c
index 541358f..329eab9 100644
--- a/sys/fs/fdescfs/fdesc_vfsops.c
+++ b/sys/fs/fdescfs/fdesc_vfsops.c
@@ -47,6 +47,7 @@
#include <sys/filedesc.h>
#include <sys/kernel.h>
#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/proc.h>
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index eb6f0db..3326375 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -49,6 +49,7 @@
#include <sys/filedesc.h>
#include <sys/kernel.h> /* boottime */
#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/malloc.h>
#include <sys/file.h> /* Must come after sys/malloc.h */
#include <sys/mount.h>
OpenPOWER on IntegriCloud