From nobody Mon Nov 27 05:25:07 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 4SdvDM6kHPz51hQR; Mon, 27 Nov 2023 05:25:07 +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 4SdvDM5rJgz4XWw; Mon, 27 Nov 2023 05:25:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701062707; 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=3+U0xJDFe3meW/1ylR7U6OPSXZ1igDnpgfxR66UAM1s=; b=VrirgxIEw5UQUB1fusmgfayBkpLtiVNPM+lDx6nl6bCO3LrUIXr9JNQSrkEvmqti9JXO1Q e6gvFdqnz0YQPdaOLW/2o4+t4fQrPPoB6duODBa3HgWZ49GliP5W90AI2WUNZaLOpSK6ne AjygGF7anZkC393wUAOQgNd4lm8UmmEq9IleEBkTYccKXMdtcOLjfsAQA/R+5H+nFpz9E1 Km7RJ3LrYmYffu+67jFWa5ec0utHrHr59Stsz7JpNPSE7e9W/pTb8+bgdbuimcB2GwsUQR Up/s1ZNuIyuCoeEUZX+ts+mvDZyiRSjrkMPYg9noDXy6DasQRAp98j8QEZ4lIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701062707; 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=3+U0xJDFe3meW/1ylR7U6OPSXZ1igDnpgfxR66UAM1s=; b=T+GGpca4vALI4/eIYuKQWTGCsBvwLtHauC6qpjvpGjXUaItnVvCofx262TKIEV7QNDGriV bYY0JWWCyfZoXa9WHqj2bza7ndxbzfEkTqvbCWF/soj2jtyhgi/m62jmqzqz+x4tHXmGNJ lFuD63mjWi+4R+Gu0zHj0LImtOB3AaMlui0f3c75g27+/7gj7pEO5R687ORcg9F4yQVu/9 tqzgObGfFLu7Nlp6lbVAeElw6tAx5yuG9deXBEJnKl2sxUelJobYNO3E4MgaBKLF4jrs8X o/Hci6Bq81qd8C6JdwvPwnTI+XGmMSFz9CApp+rmbDG7rWqwSRuXqbBs+5yTJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701062707; a=rsa-sha256; cv=none; b=LaiPLPY1CqHKKDv8qoD7DVZYiCnqoJ6pZ3FZO5hvKjCTQ/MEmqvjUz5S2RFufupzzmLreP jAG6ShSMcHVh17WDDXUvZSuiKT1LQ+0BPyKLAGJQeBVc3Vezm/U3o0jsYX0M9VLDhATKNr bnz3pI3tgsfhX2tr5D5CeS9Yh1Hfkd26Ewzsxxb2QkcASrgsXKZvr1iK4+p1Mug0JSDy7A VpWd5+IKOeX0nbUsMpHP03OtYf0e2Z/1gTUAjvelOTdayU2Gld9sYln8DQbTuK8dzLzj+q 8N1h5S+sWODtUzWl0rxXQMpIqygTiSR7ghw4kQgXc5+yBrepZCkf5fap6uEPIA== 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 4SdvDM4cTYzBK4; Mon, 27 Nov 2023 05:25:07 +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 3AR5P7Z9066841; Mon, 27 Nov 2023 05:25:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AR5P72e066838; Mon, 27 Nov 2023 05:25:07 GMT (envelope-from git) Date: Mon, 27 Nov 2023 05:25:07 GMT Message-Id: <202311270525.3AR5P72e066838@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: 6dced2c6358e - main - tests: 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: 6dced2c6358e467ac1dccd99f6f648d4f71957a8 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=6dced2c6358e467ac1dccd99f6f648d4f71957a8 commit 6dced2c6358e467ac1dccd99f6f648d4f71957a8 Author: Warner Losh AuthorDate: 2023-11-24 20:12:57 +0000 Commit: Warner Losh CommitDate: 2023-11-27 05:24:01 +0000 tests: 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 --- tests/sys/capsicum/bindat_connectat.c | 1 - tests/sys/capsicum/ioctls_test.c | 1 - tests/sys/devrandom/uint128_test.c | 1 - tests/sys/fifo/fifo_kqueue.c | 1 - tests/sys/kern/acct/acct_test.c | 1 - tests/sys/kern/fdgrowtable_test.c | 1 - tests/sys/kern/kcov.c | 1 - tests/sys/kern/kern_copyin.c | 1 - tests/sys/kern/kern_descrip_test.c | 1 - tests/sys/kern/pipe/pipe_kqueue_test.c | 1 - tests/sys/kern/ptrace_test.c | 1 - tests/sys/kern/sched_affinity.c | 2 +- tests/sys/kern/subr_physmem_test.c | 1 - tests/sys/kern/sys_getrandom.c | 1 - tests/sys/kern/unix_passfd_test.c | 1 - tests/sys/net/routing/test_rtsock_ops.c | 1 - tests/sys/netinet/ip6_v4mapped_test.c | 1 - tests/sys/netinet/ip_reass_test.c | 1 - tests/sys/netinet/so_reuseport_lb_test.c | 1 - tests/sys/netinet/tcp_connect_port_test.c | 1 - tests/sys/posixshm/posixshm_test.c | 1 - tests/sys/vfs/lookup_cap_dotdot.c | 1 - 22 files changed, 1 insertion(+), 22 deletions(-) diff --git a/tests/sys/capsicum/bindat_connectat.c b/tests/sys/capsicum/bindat_connectat.c index 397bbbd562ae..2d7ec706c1cc 100644 --- a/tests/sys/capsicum/bindat_connectat.c +++ b/tests/sys/capsicum/bindat_connectat.c @@ -23,7 +23,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/capsicum/ioctls_test.c b/tests/sys/capsicum/ioctls_test.c index d35e1582861b..5db58279071c 100644 --- a/tests/sys/capsicum/ioctls_test.c +++ b/tests/sys/capsicum/ioctls_test.c @@ -23,7 +23,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/devrandom/uint128_test.c b/tests/sys/devrandom/uint128_test.c index 2c9b956c9c8f..a59adba1a7c7 100644 --- a/tests/sys/devrandom/uint128_test.c +++ b/tests/sys/devrandom/uint128_test.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include #include #include diff --git a/tests/sys/fifo/fifo_kqueue.c b/tests/sys/fifo/fifo_kqueue.c index 43af68545ba9..9052ed599282 100644 --- a/tests/sys/fifo/fifo_kqueue.c +++ b/tests/sys/fifo/fifo_kqueue.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/acct/acct_test.c b/tests/sys/kern/acct/acct_test.c index b3028d518885..f0f016b9cc26 100644 --- a/tests/sys/kern/acct/acct_test.c +++ b/tests/sys/kern/acct/acct_test.c @@ -23,7 +23,6 @@ * SUCH DAMAGE. */ -#include #include #include diff --git a/tests/sys/kern/fdgrowtable_test.c b/tests/sys/kern/fdgrowtable_test.c index e066c97a05fb..75c3d6701c0c 100644 --- a/tests/sys/kern/fdgrowtable_test.c +++ b/tests/sys/kern/fdgrowtable_test.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/kcov.c b/tests/sys/kern/kcov.c index 914511f7d137..cecc0cda78ea 100644 --- a/tests/sys/kern/kcov.c +++ b/tests/sys/kern/kcov.c @@ -29,7 +29,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/kern_copyin.c b/tests/sys/kern/kern_copyin.c index 25c9eda96541..6ad195d5d055 100644 --- a/tests/sys/kern/kern_copyin.c +++ b/tests/sys/kern/kern_copyin.c @@ -27,7 +27,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/kern_descrip_test.c b/tests/sys/kern/kern_descrip_test.c index b181187fa168..a315156c36de 100644 --- a/tests/sys/kern/kern_descrip_test.c +++ b/tests/sys/kern/kern_descrip_test.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/pipe/pipe_kqueue_test.c b/tests/sys/kern/pipe/pipe_kqueue_test.c index b432e839c102..ee2e9ce68c7a 100644 --- a/tests/sys/kern/pipe/pipe_kqueue_test.c +++ b/tests/sys/kern/pipe/pipe_kqueue_test.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c index 5666215f9377..bd176e2963f0 100644 --- a/tests/sys/kern/ptrace_test.c +++ b/tests/sys/kern/ptrace_test.c @@ -23,7 +23,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/sched_affinity.c b/tests/sys/kern/sched_affinity.c index dce8678bcf6e..cbba226b3fa2 100644 --- a/tests/sys/kern/sched_affinity.c +++ b/tests/sys/kern/sched_affinity.c @@ -3,7 +3,7 @@ * * SPDX-License-Identifier: BSD-2-Clause */ -#include + #include #include #include diff --git a/tests/sys/kern/subr_physmem_test.c b/tests/sys/kern/subr_physmem_test.c index 92420fd39ee5..b810a2016473 100644 --- a/tests/sys/kern/subr_physmem_test.c +++ b/tests/sys/kern/subr_physmem_test.c @@ -27,7 +27,6 @@ * SUCH DAMAGE. */ -#include #include #include diff --git a/tests/sys/kern/sys_getrandom.c b/tests/sys/kern/sys_getrandom.c index 5f1acdc2efb1..6b6553bbdaac 100644 --- a/tests/sys/kern/sys_getrandom.c +++ b/tests/sys/kern/sys_getrandom.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/kern/unix_passfd_test.c b/tests/sys/kern/unix_passfd_test.c index d8c0efe5b9ea..9c9a6a175ceb 100644 --- a/tests/sys/kern/unix_passfd_test.c +++ b/tests/sys/kern/unix_passfd_test.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/net/routing/test_rtsock_ops.c b/tests/sys/net/routing/test_rtsock_ops.c index bc1694116404..ab4be93cc1af 100644 --- a/tests/sys/net/routing/test_rtsock_ops.c +++ b/tests/sys/net/routing/test_rtsock_ops.c @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/netinet/ip6_v4mapped_test.c b/tests/sys/netinet/ip6_v4mapped_test.c index bbc8d11d63ef..fa23192f56e4 100644 --- a/tests/sys/netinet/ip6_v4mapped_test.c +++ b/tests/sys/netinet/ip6_v4mapped_test.c @@ -31,7 +31,6 @@ * This test is derived from tcp_connect_port_test.c. */ -#include #include #include #include diff --git a/tests/sys/netinet/ip_reass_test.c b/tests/sys/netinet/ip_reass_test.c index f649dd9ad4db..a65bfa34e1d4 100644 --- a/tests/sys/netinet/ip_reass_test.c +++ b/tests/sys/netinet/ip_reass_test.c @@ -27,7 +27,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/netinet/so_reuseport_lb_test.c b/tests/sys/netinet/so_reuseport_lb_test.c index 5d3b2ab03af8..64fe0b53618d 100644 --- a/tests/sys/netinet/so_reuseport_lb_test.c +++ b/tests/sys/netinet/so_reuseport_lb_test.c @@ -27,7 +27,6 @@ * SUCH DAMAGE. */ -#include #include #include diff --git a/tests/sys/netinet/tcp_connect_port_test.c b/tests/sys/netinet/tcp_connect_port_test.c index c8d211cc87cc..ad087afb162d 100644 --- a/tests/sys/netinet/tcp_connect_port_test.c +++ b/tests/sys/netinet/tcp_connect_port_test.c @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/posixshm/posixshm_test.c b/tests/sys/posixshm/posixshm_test.c index c97a10bb0a86..efc903d4ee04 100644 --- a/tests/sys/posixshm/posixshm_test.c +++ b/tests/sys/posixshm/posixshm_test.c @@ -29,7 +29,6 @@ * SUCH DAMAGE. */ -#include #include #include #include diff --git a/tests/sys/vfs/lookup_cap_dotdot.c b/tests/sys/vfs/lookup_cap_dotdot.c index 416c045d2f5d..fa26a13568ca 100644 --- a/tests/sys/vfs/lookup_cap_dotdot.c +++ b/tests/sys/vfs/lookup_cap_dotdot.c @@ -24,7 +24,6 @@ * SUCH DAMAGE. */ -#include #include #include #include