summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/net80211.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 12:42:52 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 12:42:52 +0000
commit5f88f64e4ca00c8a8b07625c4a11ed0fde2f230c (patch)
treec1262035d78c25f24c241d2f8eac07fffcfe6e72 /usr.bin/netstat/net80211.c
parent883ddd7e209fd33be14c5a0bd94ea39a7e31c4f4 (diff)
Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@
Diffstat (limited to 'usr.bin/netstat/net80211.c')
-rw-r--r--usr.bin/netstat/net80211.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/netstat/net80211.c b/usr.bin/netstat/net80211.c
index 465cbde5804..35ab41d34b5 100644
--- a/usr.bin/netstat/net80211.c
+++ b/usr.bin/netstat/net80211.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: net80211.c,v 1.17 2016/08/27 04:13:43 guenther Exp $ */
+/* $OpenBSD: net80211.c,v 1.18 2018/04/26 12:42:51 guenther Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -17,10 +17,8 @@
*/
#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/select.h>
+#include <sys/select.h> /* howmany() NBBY */
#include <sys/socket.h>
-#include <sys/file.h>
#include <sys/ioctl.h>
#include <net/if.h>