From nobody Mon Jan 23 13:57:15 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 4P0s9R75MZz2t63T; Mon, 23 Jan 2023 13:57:15 +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 4P0s9R6VLrz3hFJ; Mon, 23 Jan 2023 13:57:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674482235; 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=prQ7ggMWDtbCgiZlTPmH1gQmfhOFiMOj+wt6Esl3GNk=; b=MUDQmTzXZXRav5nia8NlxuGJ5j5puiJy5eyYSjWNZ5M+1HqiglFRaKVkYpyg0rMp4N5fMM kZ4SHokTPAJ0q0KeAx45sVvpz2wT9cv7w15YEI2pCO34441/NHXzuPMxYau3AMWXP7K6Bx DmA9a2t0EH6YL94g4MzrPOHL12YN4ZSG+nIbkKW67Q+K6y57V6Z6uqt3Shd0c+xcjypQ6X cb227FWG8PeBYqvlwEof0HCsA1TPnlDO2h/fyAfm9U9JRDPVmy1I0M89BOwv074LvzrvfY ZU81RbVoqg7Z8OMGJEOH/SkcyKcGrFP2yv4zrqNehLbynpQStLiddEZkpK9W9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674482235; 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=prQ7ggMWDtbCgiZlTPmH1gQmfhOFiMOj+wt6Esl3GNk=; b=iodt/u5Lb0AbOJCgXTQngVT2H1ROgciWoteCgn8pmCrtBcWWKWuZXzCIX3Q/BENMgbUjZR 9gtWAhbPMvTFtryYScm7bZmIadyRa/qOoMvWabtepEj2Xs9yoZewhPtFj+OhZLvMsmXigm 2cUImgWRZ+mkleJbxp6rLbhIjn5uUaBZwchEjOrXGIBAQPEQxBkYGMhKzcYlbbRWHxGq4C MLs3L52TmF0lKZqVjc57UWLy5h86GTxo3C5NOs4UOCb4Dzqf4iprRIkR9hrs/9iO/9Qjjy T0+aujFjY6j3ucNpAc4Khc71Pb6c4EGQWEQNSfgg6WE3L9SVISDtDsr+snJWdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674482235; a=rsa-sha256; cv=none; b=KPCd27UZZzSkfpr1yQOGVi5W63d4wWtqAf2BcJk8yIKeUAZ30WT4s9HxLx7PdEKNvephhR 0hrWlcVeXHPm67wlq36RijBcOpjCol63FVsRJ2N3+id0ghrPZaXrBDnxFxULzDmDnS92O6 c0N4LQcxnk00AbvVWgF8z/LcatJ9oGq7kKCBgBVBiYxk1Xy2sZzU0Gpdos/5yuRKhslead 85BCp6Wbmt/0gY5UPnuAmTyhc0GmpETMwzmpTKrftuwH1dWPjlPqwTIMBvcHygc6FH6EEm AhKmAKwp/dNweJSqCkyid85Z/n2aafXHMR6lT4yc0gf55qqhMirUQgjJ0V9vrQ== 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 4P0s9R5bZqzX1D; Mon, 23 Jan 2023 13:57:15 +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 30NDvFFE000694; Mon, 23 Jan 2023 13:57:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30NDvFEq000693; Mon, 23 Jan 2023 13:57:15 GMT (envelope-from git) Date: Mon, 23 Jan 2023 13:57:15 GMT Message-Id: <202301231357.30NDvFEq000693@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: f824b9115e58 - stable/13 - atomic: Remove cdefs.h includes from atomic_*.h 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: f824b9115e58d4bb1177e28dcd52f6c8a9cdf383 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f824b9115e58d4bb1177e28dcd52f6c8a9cdf383 commit f824b9115e58d4bb1177e28dcd52f6c8a9cdf383 Author: Mark Johnston AuthorDate: 2023-01-16 13:03:20 +0000 Commit: Mark Johnston CommitDate: 2023-01-23 13:50:41 +0000 atomic: Remove cdefs.h includes from atomic_*.h Avoid including cdefs.h in system headers. Both headers now include types.h, and we can assume that that pulls in cdefs.h (required for __typeof usage in some of the atomic macro expansions). No functional change intended. Reviewed by: imp, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D38039 (cherry picked from commit f7e2f98bffdafff65012fb02ad838c30b7e3502f) --- sys/sys/atomic_common.h | 1 - sys/sys/atomic_san.h | 1 - 2 files changed, 2 deletions(-) diff --git a/sys/sys/atomic_common.h b/sys/sys/atomic_common.h index a7b0b50512dc..b7bfa151e8ca 100644 --- a/sys/sys/atomic_common.h +++ b/sys/sys/atomic_common.h @@ -36,7 +36,6 @@ #error do not include this header, use machine/atomic.h #endif -#include #include #define __atomic_load_bool_relaxed(p) (*(volatile _Bool *)(p)) diff --git a/sys/sys/atomic_san.h b/sys/sys/atomic_san.h index 9ceea2988db2..beeea82a666b 100644 --- a/sys/sys/atomic_san.h +++ b/sys/sys/atomic_san.h @@ -43,7 +43,6 @@ #error do not include this header, use machine/atomic.h #endif -#include #include #define ATOMIC_SAN_FUNC_1(sp, op, name, type) \