From b096078c282af7233062ba242a213e6f5574cfb1 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 23 May 2022 20:40:53 +0300 Subject: switch from clang-format to uncrustify The output is close enough, and I like that uncrustify is a third-party tool, so people can install a single tool for formatting instead of having to lug around a whole toolchain. I fully expect to have to add settings to uncrustify.conf, but let's see how this goes. --- include/apos/atomic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/apos/atomic.h') diff --git a/include/apos/atomic.h b/include/apos/atomic.h index 4026b1f..a4292d6 100644 --- a/include/apos/atomic.h +++ b/include/apos/atomic.h @@ -113,7 +113,8 @@ typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t; #define atomic_load_explicit(obj, mode) N_ATOMIC(load)(obj, mode) -#define atomic_load(obj) atomic_load_explicit(obj, ATOMIC_SEQ_CST) +#define atomic_load(obj) atomic_load_explicit(obj, \ + ATOMIC_SEQ_CST) #define atomic_exchange_explicit(obj, val, mode) \ N_ATOMIC(exchange)(obj, val, mode) -- cgit v1.3