netinet: Remove left-over sys/cdefs.h

These were for $FreeBSD$ that was removed a while ago, but these
includes didn't get swept up in that. Remove them all now.

Sponsored by:		Netflix
MFC After:		2 weeks
This commit is contained in:
Warner Losh 2025-12-02 22:02:10 -07:00
parent 6183477474
commit 7b71f57f4e
76 changed files with 0 additions and 76 deletions

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define ACCEPT_FILTER_MOD
#include <sys/param.h>

View file

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define ACCEPT_FILTER_MOD
#include <sys/param.h>

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define ACCEPT_FILTER_MOD
#include <sys/param.h>

View file

@ -35,7 +35,6 @@
* add "inuse/lock" bit (or ref. count) along with valid bit
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include <sys/param.h>

View file

@ -47,7 +47,6 @@
* MULTICAST Revision: 3.5.1.4
*/
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include <sys/param.h>

View file

@ -30,7 +30,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#define IN_HISTORICAL_NETS /* include class masks */

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include <sys/param.h>

View file

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_route.h"

View file

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include <sys/param.h>

View file

@ -42,7 +42,6 @@
* lookups per second on commodity CPUs, IEEE SoftCOM, September 2017, Split
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include <sys/param.h>

View file

@ -32,7 +32,6 @@
* $KAME: in_gif.c,v 1.54 2001/05/14 14:02:16 itojun Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -36,7 +36,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include "opt_ipsec.h"
#include "opt_inet.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_mrouting.h"
#include "opt_ipsec.h"
#include "opt_inet.h"

View file

@ -28,7 +28,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_bpf.h"
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_sctp.h"

View file

@ -36,7 +36,6 @@
* http://www.aciri.org/floyd/papers/draft-ipsec-ecn-00.txt
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -58,7 +58,6 @@
* The code will let you match protocol via src/dst address pair.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -67,7 +67,6 @@
* is being followed here.
*/
#include <sys/cdefs.h>
#include "opt_ipstealth.h"
#include "opt_sctp.h"

View file

@ -34,7 +34,6 @@
* $NetBSD: ip_gre.c,v 1.29 2003/09/05 23:02:43 itojun Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include <sys/param.h>

View file

@ -26,7 +26,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* IP ID generation is a fascinating topic.
*

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_bootp.h"
#include "opt_inet.h"
#include "opt_ipstealth.h"

View file

@ -67,7 +67,6 @@
* TODO: Sync ip6_mroute.c with this file.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_mrouting.h"

View file

@ -31,7 +31,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_ipstealth.h"
#include <sys/param.h>

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_ipsec.h"
#include "opt_kern_tls.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_rss.h"
#include <sys/param.h>

View file

@ -32,7 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_sctp.h"
#include <sys/param.h>

View file

@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -28,7 +28,6 @@
*
*/
#include <sys/cdefs.h>
#include "opt_capsicum.h"
#include "opt_sctp.h"
#include "opt_ktrace.h"

View file

@ -54,7 +54,6 @@
* https://tools.ietf.org/html/draft-ietf-tcpm-accurate-ecn-09
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -163,7 +163,6 @@
*
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include <sys/param.h>

View file

@ -65,7 +65,6 @@
* followed here.
*/
#include <sys/cdefs.h>
#include "opt_inet6.h"
#include <sys/param.h>

View file

@ -23,7 +23,6 @@
* SUCH DAMAGE.
*
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_rss.h"

View file

@ -26,7 +26,6 @@
*/
#include <tests/ktest.h>
#include <sys/cdefs.h>
#include "opt_inet.h"
#include <sys/param.h>
#include <sys/bus.h>

View file

@ -47,7 +47,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -27,7 +27,6 @@
*
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_ddb.h"
#include <sys/param.h>

View file

@ -32,7 +32,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -24,7 +24,6 @@
* SUCH DAMAGE.
*
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -31,7 +31,6 @@
* Author: Randall Stewart <rrs@netflix.com>
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -69,7 +69,6 @@
* Research Laboratory (NRL).
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -32,7 +32,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_rss.h"

View file

@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -35,7 +35,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -36,7 +36,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -31,7 +31,6 @@
* $KAME: dest6.c,v 1.59 2003/07/11 13:21:16 t-momose Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -32,7 +32,6 @@
* $KAME: frag6.c,v 1.33 2002/01/07 11:34:48 kjc Exp $
*/
#include <sys/cdefs.h>
#include "opt_rss.h"
#include <sys/param.h>

View file

@ -60,7 +60,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#define MBUF_PRIVATE /* XXXRW: Optimisation tries to avoid M_EXT mbufs */
#include "opt_inet.h"

View file

@ -60,7 +60,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_route.h"

View file

@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet6.h"
#include <sys/param.h>

View file

@ -32,7 +32,6 @@
* $KAME: in6_gif.c,v 1.49 2001/05/14 14:02:17 itojun Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -34,7 +34,6 @@
* Normative references: RFC 2292, RFC 3492, RFC 3542, RFC 3678, RFC 3810.
*/
#include <sys/cdefs.h>
#include "opt_inet6.h"
#include <sys/param.h>

View file

@ -64,7 +64,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -60,7 +60,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -60,7 +60,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include <sys/param.h>

View file

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet6.h"
#include "opt_ipstealth.h"
#include "opt_sctp.h"

View file

@ -31,7 +31,6 @@
* $KAME: ip6_forward.c,v 1.69 2001/05/17 03:48:30 itojun Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -24,7 +24,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -63,7 +63,6 @@
* $OpenBSD: ip6_id.c,v 1.3 2003/12/12 06:57:12 itojun Exp $
*/
#include <sys/cdefs.h>
/*
* seed = random (bits - 1) bit
* n = prime, g0 = generator to n,

View file

@ -60,7 +60,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -78,7 +78,6 @@
* MROUTING Revision: 3.5.1.2 + PIM-SMv2 (pimd) Support
*/
#include <sys/cdefs.h>
#include "opt_inet6.h"
#include <sys/param.h>

View file

@ -60,7 +60,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -63,7 +63,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -31,7 +31,6 @@
* $KAME: nd6.c,v 1.144 2001/05/24 07:44:00 itojun Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_route.h"

View file

@ -31,7 +31,6 @@
* $KAME: nd6_nbr.c,v 1.86 2002/01/21 02:33:04 jinmei Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"

View file

@ -31,7 +31,6 @@
* $KAME: nd6_rtr.c,v 1.111 2001/04/27 01:37:15 jinmei Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -31,7 +31,6 @@
* $KAME: route6.c,v 1.24 2001/03/14 03:07:05 itojun Exp $
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"

View file

@ -67,7 +67,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"