summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2015-04-06 09:42:23 +0000
committerglebius <glebius@FreeBSD.org>2015-04-06 09:42:23 +0000
commit78d51c7b15fc92383c6c68b46966248bdaf2bf1a (patch)
tree7538bd981b1bd3304ee087f206290f42ccc104f7 /usr.bin
parent0d3620e498ef1fb6f4bff312713b789f8f57e15e (diff)
downloadFreeBSD-src-78d51c7b15fc92383c6c68b46966248bdaf2bf1a.zip
FreeBSD-src-78d51c7b15fc92383c6c68b46966248bdaf2bf1a.tar.gz
Stop including if_var.h from userland.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/bluetooth/btsockstat/btsockstat.c1
-rw-r--r--usr.bin/kdump/mkioctls1
-rw-r--r--usr.bin/netstat/bpf.c1
-rw-r--r--usr.bin/netstat/if.c1
-rw-r--r--usr.bin/netstat/inet6.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/usr.bin/bluetooth/btsockstat/btsockstat.c b/usr.bin/bluetooth/btsockstat/btsockstat.c
index 20f4de8..a9c9354 100644
--- a/usr.bin/bluetooth/btsockstat/btsockstat.c
+++ b/usr.bin/bluetooth/btsockstat/btsockstat.c
@@ -38,7 +38,6 @@
#include <sys/socketvar.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <bluetooth.h>
#include <err.h>
diff --git a/usr.bin/kdump/mkioctls b/usr.bin/kdump/mkioctls
index a9ba860..525e143 100644
--- a/usr.bin/kdump/mkioctls
+++ b/usr.bin/kdump/mkioctls
@@ -54,7 +54,6 @@ BEGIN {
print "#include <bsm/audit.h>"
print "#include <net/ethernet.h>"
print "#include <net/if.h>"
- print "#include <net/if_var.h>"
print "#ifdef PF"
print "#include <net/pfvar.h>"
print "#include <net/if_pfsync.h>"
diff --git a/usr.bin/netstat/bpf.c b/usr.bin/netstat/bpf.c
index b48f9a1..60546e3 100644
--- a/usr.bin/netstat/bpf.c
+++ b/usr.bin/netstat/bpf.c
@@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$");
#include <sys/user.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <net/bpf.h>
#include <net/bpfdesc.h>
#include <arpa/inet.h>
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index cc8405e..f04c531 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <sys/time.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/ethernet.h>
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index 0d2006a..3535f45 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <net/route.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <netinet/in.h>
#include <netinet/ip6.h>
#include <netinet/icmp6.h>
OpenPOWER on IntegriCloud