From 3a1720af1d7f43edc5b214cde0be11bfb94d077e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 23 Oct 2019 17:52:22 +0000 Subject: Vendor import of stripped compiler-rt trunk r375505, the last commit before the upstream Subversion repository was made read-only, and the LLVM project migrated to GitHub: https://llvm.org/svn/llvm-project/compiler-rt/trunk@375505 --- lib/builtins/atomic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/builtins/atomic.c') diff --git a/lib/builtins/atomic.c b/lib/builtins/atomic.c index 0f82803a6416..32b3a0f9ad23 100644 --- a/lib/builtins/atomic.c +++ b/lib/builtins/atomic.c @@ -51,9 +51,11 @@ static const long SPINLOCK_MASK = SPINLOCK_COUNT - 1; //////////////////////////////////////////////////////////////////////////////// #ifdef __FreeBSD__ #include -#include +// clang-format off #include +#include #include +// clang-format on typedef struct _usem Lock; __inline static void unlock(Lock *l) { __c11_atomic_store((_Atomic(uint32_t) *)&l->_count, 1, __ATOMIC_RELEASE); -- cgit v1.2.3