From nobody Mon Nov 27 05:24:57 2023 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 4SdvDB1p3hz51hVQ; Mon, 27 Nov 2023 05:24:58 +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 4SdvDB10t9z4XGv; Mon, 27 Nov 2023 05:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701062698; 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=kJ46isfs4TdujBP1JFNNG2ajE2TDHeCJdpGDSBYmGYc=; b=BxTdllRf8cAsBnSByLwLRRG4wSfTp1axLCqL6gsYB8U4NDojfpzJDAUSgvqRLrRwiKbUR3 n2fpvWOtTYggGjg8GWHQB3s2UEmkpn/0eKGpB/6tbEb/zpKDhQRzP08kpcikTIFH4l2cqR DJKnMcgUE/dXPVS+G+UKrH4x1Y56YTwy9EtI273kt6cqm3EfWwQRPmA2dQi84kZ5KHyUao csVzaupq+uEYoOqR1BmIIJv3xd35j/66W4i1VBEL/t0jr8Jvlj6rUasXIMFh3PjUaYkOBX NNX27cnPzAwNmEGyE7wrfmo5jhwKsGW15y61B15ti/wcrdTMWYAHINadUDV+fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701062698; 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=kJ46isfs4TdujBP1JFNNG2ajE2TDHeCJdpGDSBYmGYc=; b=hWHGhnhyQ/g6H3DeT4frE9G0QZ1PqNhWIm9AVTnA01bE4u3BSnE7I2+5bGQY6zxm5RC+xX ee84Ce+YVj0mBRBY3PT/oW9j7YKeEPqbhDMEBWF3uAxr0BG9J5kJZkK2pNYwiCLO5rArfI ffiw0k0bNmijcfJ8mlWzSb9q3trpK8pZUPn368kqbVvjJ4wpB+cv5WFy42jMlqNlQft+4a 7OohE4oG+iLylvSmu3RJmkSbsDIE+WTiCowP+YBmJiXmzL/+v5uujZ9g31Y8xHipMBzkGd rYAycihsoeC+NX5BJ5DhmKb68wBSQ5a3JJDitTOQ24Jyude3XPCFTE26b90isQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701062698; a=rsa-sha256; cv=none; b=X23BZFXKIjquw5t338ZdddL4p84CVzTqZSHXMYnp9VKEJXrgrM8P/D9YQ3BsaaSv3r6VX5 uh/JT9zU1NUbOVdQA/i4OZcJaFKgVUE66oQtznp4W2iRGQ9gc7zOdyQYmbAFrU8ZZhjK6F eS8sK4KKNW70eyGtMBPGxTkpasFtM2Pysb68C86K4MZdSWeNQDNm2++mQzkL679Rfkvqjv AldU8FQKNV3hZDGym+TQiY2ikAcW2wFG3T7rnUxoXXGxQjUOyM9cvIiJFTRPjCOUOHWeWc 6OZGgq25uGco/hkm650xHJPEjELGrb/TJhYLbtcZPvZGlq8ce7rDgQVrO7l59A== 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 4SdvD96s93zB7S; Mon, 27 Nov 2023 05:24:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AR5OvUF066381; Mon, 27 Nov 2023 05:24:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AR5OvNf066378; Mon, 27 Nov 2023 05:24:57 GMT (envelope-from git) Date: Mon, 27 Nov 2023 05:24:57 GMT Message-Id: <202311270524.3AR5OvNf066378@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 33ccf366718d - main - include: Automated cleanup of cdefs and other formatting 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 33ccf366718d189f206f1ed6c43cbcb7b50a2e6c Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=33ccf366718d189f206f1ed6c43cbcb7b50a2e6c commit 33ccf366718d189f206f1ed6c43cbcb7b50a2e6c Author: Warner Losh AuthorDate: 2023-11-24 20:12:57 +0000 Commit: Warner Losh CommitDate: 2023-11-27 05:23:59 +0000 include: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+.*\n/ Remove /\n+#include\s+.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+\n#include\s+/ Remove /\n+#include\s+\n#include\s+/ Remove /\n+#include\s+\n#include\s+/ Sponsored by: Netflix --- include/iconv.h | 2 -- include/mqueue.h | 1 - include/nl_types.h | 1 - include/sched.h | 1 - include/stringlist.h | 2 +- include/unistd.h | 1 - 6 files changed, 1 insertion(+), 7 deletions(-) diff --git a/include/iconv.h b/include/iconv.h index 05e7427a4bf0..a5a830b75fac 100644 --- a/include/iconv.h +++ b/include/iconv.h @@ -33,12 +33,10 @@ #ifndef _ICONV_H_ #define _ICONV_H_ -#include #include #include -#include #include #ifdef __cplusplus diff --git a/include/mqueue.h b/include/mqueue.h index 910be7481796..b814c3f1b4ad 100644 --- a/include/mqueue.h +++ b/include/mqueue.h @@ -29,7 +29,6 @@ #ifndef _MQUEUE_H_ #define _MQUEUE_H_ -#include #include #include #include diff --git a/include/nl_types.h b/include/nl_types.h index 6ba15132126d..120d1911631f 100644 --- a/include/nl_types.h +++ b/include/nl_types.h @@ -34,7 +34,6 @@ #ifndef _NL_TYPES_H_ #define _NL_TYPES_H_ -#include #include #ifdef _NLS_PRIVATE diff --git a/include/sched.h b/include/sched.h index e03f076febb1..14512559e2a8 100644 --- a/include/sched.h +++ b/include/sched.h @@ -29,7 +29,6 @@ #ifndef __SCHED_H__ #define __SCHED_H__ -#include #include #include #if __BSD_VISIBLE diff --git a/include/stringlist.h b/include/stringlist.h index c4eff6714f41..c0ac84ef8679 100644 --- a/include/stringlist.h +++ b/include/stringlist.h @@ -30,7 +30,7 @@ #ifndef _STRINGLIST_H #define _STRINGLIST_H -#include + #include /* diff --git a/include/unistd.h b/include/unistd.h index afcb6c0ed700..e3e5675b3da0 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -32,7 +32,6 @@ #ifndef _UNISTD_H_ #define _UNISTD_H_ -#include #include /* XXX adds too much pollution. */ #include #include