git: 157c184689ea - main - assert.h: Remove leading tabs for whitespace consistency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 May 2026 13:44:27 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/src/commit/?id=157c184689ea3d7b8b6bd89aff849e94f004aa0e
commit 157c184689ea3d7b8b6bd89aff849e94f004aa0e
Author: Faraz Vahedi <kfv@kfv.io>
AuthorDate: 2026-05-28 07:17:28 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-05-30 13:43:51 +0000
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
---
include/assert.h | 18 +++++++++---------
1 file 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