From 157c184689ea3d7b8b6bd89aff849e94f004aa0e Mon Sep 17 00:00:00 2001 From: Faraz Vahedi Date: Thu, 28 May 2026 10:47:28 +0330 Subject: [PATCH] assert.h: Remove leading tabs for whitespace consistency Signed-off-by: Faraz Vahedi Reviewed by: fuz MFC after: 1 month Pull Request: https://github.com/freebsd/freebsd-src/pull/2203 --- include/assert.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/assert.h b/include/assert.h index a089d7b7991..7dd48e61c08 100644 --- a/include/assert.h +++ b/include/assert.h @@ -46,19 +46,19 @@ #undef __assert_unreachable #ifdef NDEBUG -#define assert(e) ((void)0) -#define _assert(e) ((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 -#define _assert(e) assert(e) +#define _assert(e) assert(e) -#define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ +#define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ __LINE__, #e)) #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 _ASSERT_H_ @@ -77,7 +77,7 @@ * _Static_assert, as keywords. */ #if __ISO_C_VISIBLE >= 2011 && __ISO_C_VISIBLE < 2023 && !defined(__cplusplus) -#define static_assert _Static_assert +#define static_assert _Static_assert #endif __BEGIN_DECLS