From nobody Mon Jan 03 12:56:00 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 923EF191F400; Mon, 3 Jan 2022 12:56:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JSG2T1LB3z3Lnc; Mon, 3 Jan 2022 12:56:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DBDE257F9; Mon, 3 Jan 2022 12:56:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 203Cu0XF084459; Mon, 3 Jan 2022 12:56:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 203Cu0hT084458; Mon, 3 Jan 2022 12:56:00 GMT (envelope-from git) Date: Mon, 3 Jan 2022 12:56:00 GMT Message-Id: <202201031256.203Cu0hT084458@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: aa70361d863b - main - headers: make a few more headers self-contained List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aa70361d863b7ec20c7e72a6fa7de8fb110715e1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641214561; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZnA78HtCjTQpbKFbvuL6vl49LGZm27a88qbNX+RfZfA=; b=sijKZsIquogdghQz6YpRz75OAWmweCwZ+6Lf/FjF90yiEK2EA+dxq+KuWXoGjrYnmFXLJo zX6hrAtg3fj1z77ypVEeZtgUgWbDoc0YDhz7WEDoCYmcb9jYOMpTnCP+Lr2pZX0IIUxphV Nxmx56G1qGRAZeA1ATotFnj0O44edp+XB2cJ6Lhg1GIZbCFGBDfj75MwnauTwNVK0Bh3Wr 392rexIUEVDBhPRduIUw4+ZUtVjlq3K+psgFDZjPUKrZ6gpdiiIwSr1C8Fc8nmsmpM4f61 ByvY6JVFpOd8+BoNHIox5uKJyMq25TVISYqMPS7ElEsBQQV5YVd+V0bA9mBhLg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641214561; a=rsa-sha256; cv=none; b=WR74KlNaB74v8T3tdc8wPtUyt0zovnCa2MdrVC88aimowYnJ3l1HK5NpDtO7xopc7bjEV3 T1S2D8pFUW7JvS3ztmPtQTyygDska/fpU/kmMnpT44m6ouYhxdDbyJHmGxTfTiDIPhvIF1 4Q9Ep619AaGo9yyyBmX41bY6I+ZDwyPGxzoNBGWS+0KNNi9XNMoXqBe4IWqctgBclBOiuH Nnrwmg7GvHZxlXnpRX8lYvHPt8Mksspvlg8hXJbVSHm1/ibXJyPRxWIOKJJfYcvG5xJAPz FsubnLIGQbOtGTn6uL57m3gflLuAM7xZpPrfFsVqFsOPEbpWJ0XlJm9JbSiOHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=aa70361d863b7ec20c7e72a6fa7de8fb110715e1 commit aa70361d863b7ec20c7e72a6fa7de8fb110715e1 Author: Kristof Provost AuthorDate: 2021-12-24 15:43:57 +0000 Commit: Kristof Provost CommitDate: 2022-01-03 09:12:30 +0000 headers: make a few more headers self-contained Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netinet/ip_var.h | 5 ++++- sys/netinet/udp.h | 2 ++ sys/netinet/udp_var.h | 5 +++++ sys/sys/epoch.h | 2 ++ tools/build/test-includes/badfiles.inc | 4 ---- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index 77b6ee88507a..d5c68442a2b9 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -35,8 +35,11 @@ #ifndef _NETINET_IP_VAR_H_ #define _NETINET_IP_VAR_H_ -#include #include +#include +#include + +#include /* * Overlay for ip header used by other protocols (tcp, udp). diff --git a/sys/netinet/udp.h b/sys/netinet/udp.h index 263a64fbe588..d7def4e41fc8 100644 --- a/sys/netinet/udp.h +++ b/sys/netinet/udp.h @@ -36,6 +36,8 @@ #ifndef _NETINET_UDP_H_ #define _NETINET_UDP_H_ +#include + /* * UDP protocol header. * Per RFC 768, September, 1981. diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h index 9a15016b37e3..e66328ec5cb0 100644 --- a/sys/netinet/udp_var.h +++ b/sys/netinet/udp_var.h @@ -36,6 +36,11 @@ #ifndef _NETINET_UDP_VAR_H_ #define _NETINET_UDP_VAR_H_ +#include + +#include +#include + /* * UDP kernel structures and variables. */ diff --git a/sys/sys/epoch.h b/sys/sys/epoch.h index 6ce0fcd01c60..7b06ee19c2f3 100644 --- a/sys/sys/epoch.h +++ b/sys/sys/epoch.h @@ -30,6 +30,8 @@ #ifndef _SYS_EPOCH_H_ #define _SYS_EPOCH_H_ +#include + struct epoch_context { void *data[2]; } __aligned(sizeof(void *)); diff --git a/tools/build/test-includes/badfiles.inc b/tools/build/test-includes/badfiles.inc index 70061ae0b2b2..ce70cca62959 100644 --- a/tools/build/test-includes/badfiles.inc +++ b/tools/build/test-includes/badfiles.inc @@ -35,7 +35,6 @@ BADHDRS= \ sys/elf64.h \ sys/elf_common.h \ sys/elf_generic.h \ - sys/epoch.h \ sys/eui64.h \ sys/eventhandler.h \ sys/eventvar.h \ @@ -267,7 +266,6 @@ BADHDRS= \ netinet/ip_icmp.h \ netinet/ip_mroute.h \ netinet/ip_options.h \ - netinet/ip_var.h \ netinet/pim_var.h \ netinet/sctp_auth.h \ netinet/sctp_bsd_addr.h \ @@ -287,8 +285,6 @@ BADHDRS= \ netinet/tcp_var.h \ netinet/tcpip.h \ netinet/toecore.h \ - netinet/udp.h \ - netinet/udp_var.h \ netinet/udplite.h \ netinet6/icmp6.h \ netinet6/in6.h \