aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-03-26 12:40:48 +0000
committerBruce Evans <bde@FreeBSD.org>2002-03-26 12:40:48 +0000
commitcb331c71a25bded2cb34c382fec60fdf3521c6d7 (patch)
tree7fb711580bfd7907134886fe916283253073fed4 /sys
parent3a8d2936c6b599ad436df39ba2d494667e98b986 (diff)
downloadsrc-cb331c71a25bded2cb34c382fec60fdf3521c6d7.tar.gz
src-cb331c71a25bded2cb34c382fec60fdf3521c6d7.zip
Removed some namespace pollution (unnecessary nested includes).
Notes
Notes: svn path=/head/; revision=93219
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/file.h2
-rw-r--r--sys/sys/socketvar.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/sys/file.h b/sys/sys/file.h
index 16347be45da9..4eb305072413 100644
--- a/sys/sys/file.h
+++ b/sys/sys/file.h
@@ -43,11 +43,9 @@
#endif
#ifdef _KERNEL
-#include <sys/types.h>
#include <sys/queue.h>
#include <sys/_lock.h>
#include <sys/_mutex.h>
-#include <sys/sx.h>
struct stat;
struct thread;
diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h
index e4cee77a570b..f4e57d64a514 100644
--- a/sys/sys/socketvar.h
+++ b/sys/sys/socketvar.h
@@ -38,7 +38,6 @@
#define _SYS_SOCKETVAR_H_
#include <sys/queue.h> /* for TAILQ macros */
-#include <sys/sx.h> /* SX locks */
#include <sys/selinfo.h> /* for struct selinfo */
#include <vm/uma.h>