mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
assert.h: Remove leading tabs for whitespace consistency
Signed-off-by: Faraz Vahedi <[email protected]> Reviewed by: fuz MFC after: 1 month Pull Request: https://github.com/freebsd/freebsd-src/pull/2203
This commit is contained in:
1 parent
c5c7d18d01
commit
157c184689
1 file changed
+9
-9
+9
-9
@@ -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
|
||||
|
||||
Reference in new issue
Block a user