From 72e2af511649b73ccca85da5784b86598b23d916 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 5 Dec 2021 22:36:20 +0000 Subject: 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 --- usr.bin/netstat/inet.c | 3 +-- usr.bin/netstat/mroute6.c | 3 +-- usr.bin/netstat/net80211.c | 3 +-- usr.bin/netstat/route.c | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) (limited to 'usr.bin/netstat') 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 -#include #include #include #include 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 -#include #include #include 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 @@ -17,7 +17,6 @@ */ #include -#include /* howmany() NBBY */ #include #include 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 #include -#include #include #include -- cgit v1.2.3