From b033314bf1901d436dc71d41d5e1f37dda47e511 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 12 Dec 2024 16:03:08 +0100 Subject: formatting: Use clang-format on all projects This commit also add braces to all `if` statements. --- userland/libc/include/assert.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'userland/libc/include/assert.h') diff --git a/userland/libc/include/assert.h b/userland/libc/include/assert.h index a009e5f..c35845e 100644 --- a/userland/libc/include/assert.h +++ b/userland/libc/include/assert.h @@ -1,10 +1,10 @@ #ifndef ASSERT_H #define ASSERT_H -#define assert(expr) \ +#define assert(expr) \ { \ if (!(expr)) \ - aFailed(__FILE__, __LINE__); \ + aFailed(__FILE__, __LINE__); \ } void aFailed(char *f, int l); #endif -- cgit v1.2.3