aboutsummaryrefslogtreecommitdiff
path: root/include/apos/assert.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:33:29 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:33:29 +0300
commit20d9959b74fdfba26250579f8a75374042bfaaaf (patch)
treeae1b9b8ecd47b8a0aa3c8f4987ae04818fa4a71e /include/apos/assert.h
parent217d216516ebb7426ee5ab903358e1a2623f8700 (diff)
downloadkmi-20d9959b74fdfba26250579f8a75374042bfaaaf.tar.gz
kmi-20d9959b74fdfba26250579f8a75374042bfaaaf.zip
make syntax friendlier for uncrustify
Diffstat (limited to 'include/apos/assert.h')
-rw-r--r--include/apos/assert.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/apos/assert.h b/include/apos/assert.h
index eed521c..429134e 100644
--- a/include/apos/assert.h
+++ b/include/apos/assert.h
@@ -25,8 +25,8 @@
if (unlikely(!(x))) { \
error("catastrophic assertion failed: %s\n", \
QUOTE(x)); \
- while (1) \
- ; \
+ while (1) { \
+ } \
} \
} while (0);
@@ -51,7 +51,7 @@
#endif
/* use when return value doesn't exist, like hard_assert(x,
- * RETURN_VOID); */
+ * RETURN_VOID); */
#define RETURN_VOID
#endif /* APOS_ASSERT_H */