diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-05 22:36:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-05 22:36:20 +0000 |
commit | 72e2af511649b73ccca85da5784b86598b23d916 (patch) | |
tree | 3d9e486297b2dfb6b0884881f41d3ff042e176bd /usr.bin/netstat | |
parent | 511ad065a20a3deafbba71c37965d7b264e5a9e8 (diff) |
sys/select.h is not needed, if howmany/NBBY are needed they will arrive
via netinet/in.h and sys/time.h, which I must say surprises me a bit
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/inet.c | 3 | ||||
-rw-r--r-- | usr.bin/netstat/mroute6.c | 3 | ||||
-rw-r--r-- | usr.bin/netstat/net80211.c | 3 | ||||
-rw-r--r-- | usr.bin/netstat/route.c | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index d85bf67c671..98994cb373a 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.172 2021/11/21 16:17:48 mvs Exp $ */ +/* $OpenBSD: inet.c,v 1.173 2021/12/05 22:36:19 deraadt Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -31,7 +31,6 @@ */ #include <sys/queue.h> -#include <sys/select.h> #include <sys/socket.h> #include <sys/socketvar.h> #include <sys/domain.h> diff --git a/usr.bin/netstat/mroute6.c b/usr.bin/netstat/mroute6.c index b3bbe646c90..4807d8911e0 100644 --- a/usr.bin/netstat/mroute6.c +++ b/usr.bin/netstat/mroute6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mroute6.c,v 1.24 2018/06/04 19:20:12 kn Exp $ */ +/* $OpenBSD: mroute6.c,v 1.25 2021/12/05 22:36:19 deraadt Exp $ */ /* * Copyright (C) 1998 WIDE Project. @@ -65,7 +65,6 @@ */ #include <sys/types.h> -#include <sys/select.h> #include <sys/socket.h> #include <sys/sysctl.h> diff --git a/usr.bin/netstat/net80211.c b/usr.bin/netstat/net80211.c index 13c62c605ab..de136e4dd7a 100644 --- a/usr.bin/netstat/net80211.c +++ b/usr.bin/netstat/net80211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: net80211.c,v 1.19 2019/06/28 13:35:02 deraadt Exp $ */ +/* $OpenBSD: net80211.c,v 1.20 2021/12/05 22:36:19 deraadt Exp $ */ /* * Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org> @@ -17,7 +17,6 @@ */ #include <sys/types.h> -#include <sys/select.h> /* howmany() NBBY */ #include <sys/socket.h> #include <sys/ioctl.h> diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index dc3a8caed50..0dbb248e331 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.107 2021/03/17 09:03:51 claudio Exp $ */ +/* $OpenBSD: route.c,v 1.108 2021/12/05 22:36:19 deraadt Exp $ */ /* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */ /* @@ -32,7 +32,6 @@ #include <sys/types.h> #include <sys/protosw.h> -#include <sys/select.h> #include <sys/socket.h> #include <net/if.h> |