diff options
| author | Faraz Vahedi <kfv@kfv.io> | 2026-05-28 07:17:28 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2026-05-30 13:43:51 +0000 |
| commit | 157c184689ea3d7b8b6bd89aff849e94f004aa0e (patch) | |
| tree | 598fcdc25dd8cecee77439b905b65568632f7be5 | |
| parent | c5c7d18d011830088a2134e1be32f610f1f3e797 (diff) | |
assert.h: Remove leading tabs for whitespace consistency
Signed-off-by: Faraz Vahedi <kfv@kfv.io>
Reviewed by: fuz
MFC after: 1 month
Pull Request: https://github.com/freebsd/freebsd-src/pull/2203
| -rw-r--r-- | include/assert.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/assert.h b/include/assert.h index a089d7b79915..7dd48e61c082 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 |
