aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-03-24 12:12:36 +0000
committerBruce Evans <bde@FreeBSD.org>1997-03-24 12:12:36 +0000
commit528f627f0004c0c0081954ecc5c6c3dc00465e04 (patch)
tree08dc19c21b06387968ceae8404c3c6c29bc1279f /sys/net
parentafd2f6c21826a8f0a0f579eb15b222054a60a4ed (diff)
downloadsrc-528f627f0004c0c0081954ecc5c6c3dc00465e04.tar.gz
src-528f627f0004c0c0081954ecc5c6c3dc00465e04.zip
Don't include <sys/ioctl.h> in the kernel. Stage 6: include
<sys/filio.h>, <sys/sockio.h> and <sys/ttycom.h> instead of <sys/ioctl.h> in a couple of files. This is still only 1/3 as spammish as <sys/ioctl.h> - 5 or 6 old tty ioctl headers aren't needed.
Notes
Notes: svn path=/head/; revision=24208
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf.c6
-rw-r--r--sys/net/if_tun.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index db05aed63489..f892ad810646 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -37,7 +37,7 @@
*
* @(#)bpf.c 8.2 (Berkeley) 3/28/94
*
- * $Id: bpf.c,v 1.29 1997/02/22 09:40:52 peter Exp $
+ * $Id: bpf.c,v 1.30 1997/03/23 03:37:14 bde Exp $
*/
#include "bpfilter.h"
@@ -58,7 +58,9 @@
#include <sys/time.h>
#include <sys/proc.h>
#include <sys/signalvar.h>
-#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/sockio.h>
+#include <sys/ttycom.h>
#include <sys/fcntl.h>
#if defined(sparc) && BSD < 199103
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index c58e26564480..c66360b9b2bf 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -24,7 +24,9 @@
#include <sys/buf.h>
#include <sys/protosw.h>
#include <sys/socket.h>
-#include <sys/ioctl.h>
+#include <sys/filio.h>
+#include <sys/sockio.h>
+#include <sys/ttycom.h>
#include <sys/errno.h>
#include <sys/syslog.h>
#include <sys/select.h>