From nobody Sun May 31 19:51:30 2026 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 4gT75M6XvCz6gf4l for ; Sun, 31 May 2026 19:51:35 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gT75M5FXNz3r9R for ; Sun, 31 May 2026 19:51:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780257095; 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=TWkDkcWZprz+eizT9eJG6d/ybuvFJklFh3znNtyKivY=; b=Id2rZRh/HLGj2WCFn4HicHZoSxrK4miOmEgUQ9/u2med2uZq9wzmx2s2GNaPD2XzS9u6Ub guzlaOFQWpRvD8uHXt/D75Oz+BdNm081kn4FC902e/lSpPtisb9SQ6rEWt57VVqJphcYsX W3PecYgrdCR4gm716rMKz/1OSAaKkNDfbdgBPtHS27J9z7W/IUmexZPS3x2eeZ/Am3TGVO HieZwtD495OivzLqsnc9uszUsYEirQj1YJP9RDcSCF5beM7AxvZsNw3+Bok07dLb6q/ypN 4s26GJLQ1TzahmOP4SU/vFA6GmByJVdBu1UU9LriVqwehAGints9JrKXzDShiQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780257095; a=rsa-sha256; cv=none; b=odxYuunVDKiMYdTN6rYMErBf/qBJBD9lzEzayWAazmLYqIMjX+OiU+sJauC0Hg3qf9qxtL abrmZpSsLYRcEJfqfqRcNEKAxVE+XowzttienVOKb+OT4SCyQz9ZZChQu2UTqXB+/b4Pdh 7T6+0wuNACT8hjdCsUhY4ZwH9jhSByTJ5jtdTOHoOYrW8GEk7rUOxGZvCcfaDx9gKE9IBT 72UGZUVuTPGdesYdNoxuFi2li3N1ZQO/iVkg581yBoVyf/vH/l159jxp49sqHHLGt3TRuk K87DJChj5QstQPqAIhcq1oPc5EfTNpKvPQ+b9+CPePeuAbh76wQEbPhwlMvz8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780257095; 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=TWkDkcWZprz+eizT9eJG6d/ybuvFJklFh3znNtyKivY=; b=L+EUsxFrNtYc9Ubwmsqboja2sD2lUZB2WO/hBxicRwOe9WywNuj4OtzxO3sS16vBmgyWHI Cw/2nJBBprxgUGMUWPM+4EuJPiFlCxS9BF6CNoZZhVolaXmCNLYAI3XgJOyhGUXzq1D1Ur kgFkBq3Ta7nc44uaoev5KWfswf08hwSBZZYWrm459il9t06OIRNZr1QNm5JKuYKh/QcRB2 OcL3mw3MzFntjSQNQPSu8IPoW/pxZpIpV7yPoASz0NNJT55QBAozbnbZaniOXuPm0/WvPL F5gbjMvTJbw9CyTHed59NgXDRpIA5CxnmmfDhiq/89vRsP8WhlMD0pMk421GpQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gT75M4L76z15Hl for ; Sun, 31 May 2026 19:51:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3037a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 31 May 2026 19:51:30 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Clausecker Subject: git: 439710cf003b - main - assert.h: Revert "Remove leading tabs for whitespace consistency" 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 439710cf003b7849d2119e9a7694d7b27ab6d70f Auto-Submitted: auto-generated Date: Sun, 31 May 2026 19:51:30 +0000 Message-Id: <6a1c9142.3037a.348e36a2@gitrepo.freebsd.org> The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=439710cf003b7849d2119e9a7694d7b27ab6d70f commit 439710cf003b7849d2119e9a7694d7b27ab6d70f Author: Robert Clausecker AuthorDate: 2026-05-31 19:47:36 +0000 Commit: Robert Clausecker CommitDate: 2026-05-31 19:49:23 +0000 assert.h: Revert "Remove leading tabs for whitespace consistency" This reverts commit 157c184689ea3d7b8b6bd89aff849e94f004aa0e. As per style(9), a tab goes after #define. This should not have been removed. Reported by: kib Fixes: 157c184689ea3d7b8b6bd89aff849e94f004aa0e. Pull Request: https://github.com/freebsd/freebsd-src/pull/2203 --- include/assert.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/assert.h b/include/assert.h index 75d3e62e8932..f1dcf2bb180c 100644 --- a/include/assert.h +++ b/include/assert.h @@ -46,11 +46,11 @@ #undef __assert_unreachable #ifdef NDEBUG -#define assert(...) ((void)0) -#define _assert(...) ((void)0) +#define assert(e) ((void)0) +#define _assert(e) ((void)0) #if __BSD_VISIBLE -#define __assert_unreachable() __unreachable() -#endif /* __BSD_VISIBLE */ +#define __assert_unreachable() __unreachable() +#endif /* __BSD_VISIBLE */ #else #ifdef __cplusplus #if __cplusplus < 202002L @@ -71,25 +71,25 @@ * of the remaining guarantees. * */ -#define __assert_sanitize(...) ((void)0) +#define __assert_sanitize(...) ((void)0) #else -#define __assert_sanitize(...) (void)sizeof(((bool(*)(bool))0)(__VA_ARGS__)) +#define __assert_sanitize(...) (void)sizeof(((bool(*)(bool))0)(__VA_ARGS__)) #endif /* __cplusplus < 202002L */ #else -#define __assert_sanitize(...) (void)sizeof(((_Bool(*)(_Bool))0)(__VA_ARGS__)) +#define __assert_sanitize(...) (void)sizeof(((_Bool(*)(_Bool))0)(__VA_ARGS__)) #endif /* __cplusplus */ -#define assert(...) (__assert_sanitize(__VA_ARGS__), \ +#define assert(...) (__assert_sanitize(__VA_ARGS__), \ (__VA_ARGS__) ? (void)0 : \ __assert(__func__, __FILE__, \ __LINE__, #__VA_ARGS__)) -#define _assert(...) assert(__VA_ARGS__) +#define _assert(...) assert(__VA_ARGS__) #if __BSD_VISIBLE -#define __assert_unreachable() assert(0 && "unreachable segment reached") -#endif /* __BSD_VISIBLE */ +#define __assert_unreachable() assert(0 && "unreachable segment reached") +#endif /* __BSD_VISIBLE */ #endif /* NDEBUG */ #ifndef __STDC_VERSION_ASSERT_H__ -#define __STDC_VERSION_ASSERT_H__ 202311L +#define __STDC_VERSION_ASSERT_H__ 202311L /* * Static assertions. In principle we could define static_assert for @@ -105,7 +105,7 @@ */ #if __ISO_C_VISIBLE >= 2011 && !defined(__cplusplus) && \ __STDC_VERSION__ < 202311L -#define static_assert _Static_assert +#define static_assert _Static_assert #endif __BEGIN_DECLS