summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2014-11-21 17:49:00 +0000
committermikeb <mikeb@openbsd.org>2014-11-21 17:49:00 +0000
commit5a86c6f85aad7503677690f848d2ae4695288e72 (patch)
tree8574d1f4fd7b68463d37e39ad966a3f419d9afbf
parenta long time ago, DISPLAY and UNDISPLAY required special treatment, as they (diff)
downloadwireguard-openbsd-5a86c6f85aad7503677690f848d2ae4695288e72.tar.xz
wireguard-openbsd-5a86c6f85aad7503677690f848d2ae4695288e72.zip
remove pointless if_var.h and socketvar.h includes; ok deraadt
-rw-r--r--usr.bin/netstat/if.c3
-rw-r--r--usr.bin/netstat/mroute6.c3
-rw-r--r--usr.bin/netstat/net80211.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index f722db23e89..90e392da783 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.68 2014/06/23 03:46:17 guenther Exp $ */
+/* $OpenBSD: if.c,v 1.69 2014/11/21 17:49:00 mikeb Exp $ */
/* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */
/*
@@ -38,7 +38,6 @@
#include <sys/sysctl.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/route.h>
diff --git a/usr.bin/netstat/mroute6.c b/usr.bin/netstat/mroute6.c
index b198ea4e34b..438d04b17c7 100644
--- a/usr.bin/netstat/mroute6.c
+++ b/usr.bin/netstat/mroute6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mroute6.c,v 1.13 2014/06/23 03:46:17 guenther Exp $ */
+/* $OpenBSD: mroute6.c,v 1.14 2014/11/21 17:49:00 mikeb Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -67,7 +67,6 @@
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/socket.h>
-#include <sys/socketvar.h>
#include <sys/protosw.h>
#include <sys/sysctl.h>
diff --git a/usr.bin/netstat/net80211.c b/usr.bin/netstat/net80211.c
index dc40c098818..6cf8a4413f6 100644
--- a/usr.bin/netstat/net80211.c
+++ b/usr.bin/netstat/net80211.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: net80211.c,v 1.11 2014/08/14 12:55:50 mpi Exp $ */
+/* $OpenBSD: net80211.c,v 1.12 2014/11/21 17:49:00 mikeb Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -23,7 +23,6 @@
#include <sys/ioctl.h>
#include <net/if.h>
-#include <net/if_var.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>