summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_socket.c
diff options
context:
space:
mode:
authortanimura <tanimura@FreeBSD.org>2002-04-30 01:54:54 +0000
committertanimura <tanimura@FreeBSD.org>2002-04-30 01:54:54 +0000
commit89ec521d918cc9582731bc57c7d9d39010f3ccba (patch)
tree949babd3de74c52d345786e2c0f418722c5d6351 /sys/netgraph/ng_socket.c
parentc52db1bfdfb3a9e4065f735384e8e23dd29a14c0 (diff)
downloadFreeBSD-src-89ec521d918cc9582731bc57c7d9d39010f3ccba.zip
FreeBSD-src-89ec521d918cc9582731bc57c7d9d39010f3ccba.tar.gz
Revert the change of #includes in sys/filedesc.h and sys/socketvar.h.
Requested by: bde Since locking sigio_lock is usually followed by calling pgsigio(), move the declaration of sigio_lock and the definitions of SIGIO_*() to sys/signalvar.h. While I am here, sort include files alphabetically, where possible.
Diffstat (limited to 'sys/netgraph/ng_socket.c')
-rw-r--r--sys/netgraph/ng_socket.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c
index 02183f0..09d1c46 100644
--- a/sys/netgraph/ng_socket.c
+++ b/sys/netgraph/ng_socket.c
@@ -49,18 +49,20 @@
*/
#include <sys/param.h>
-#include <sys/systm.h>
#include <sys/domain.h>
#include <sys/errno.h>
#include <sys/kernel.h>
-#include <sys/filedesc.h>
+#include <sys/lock.h>
#include <sys/malloc.h>
-#include <sys/queue.h>
#include <sys/mbuf.h>
#include <sys/protosw.h>
+#include <sys/queue.h>
+#include <sys/signalvar.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/sx.h>
#include <sys/sysctl.h>
+#include <sys/systm.h>
#ifdef NOTYET
#include <sys/vnode.h>
#endif
OpenPOWER on IntegriCloud