From 37ac96efb8c00580519dfd166dc5bdab773574f8 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Fri, 3 Jul 2020 21:21:19 +0200 Subject: [PATCH] Fixed formatting --- src/osdep/target.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/osdep/target.h b/src/osdep/target.h index 683b7f3b..453dbdc7 100644 --- a/src/osdep/target.h +++ b/src/osdep/target.h @@ -161,15 +161,15 @@ STATIC_INLINE uae_atomic atomic_dec(volatile uae_atomic *p) { return __atomic_sub_fetch(p, 1, __ATOMIC_SEQ_CST); } -STATIC_INLINE uae_u32 atomic_bit_test_and_reset(volatile uae_atomic *p, uae_u32 v) +STATIC_INLINE uae_u32 atomic_bit_test_and_reset(volatile uae_atomic* p, uae_u32 v) { - uae_u32 mask = (1 << v); - uae_u32 res = __atomic_fetch_and(p, ~mask, __ATOMIC_SEQ_CST); + uae_u32 mask = (1 << v); + uae_u32 res = __atomic_fetch_and(p, ~mask, __ATOMIC_SEQ_CST); return (res & mask); } -STATIC_INLINE void atomic_set(volatile uae_atomic *p, uae_u32 v) +STATIC_INLINE void atomic_set(volatile uae_atomic* p, uae_u32 v) { - __atomic_store_n(p, v, __ATOMIC_SEQ_CST); + __atomic_store_n(p, v, __ATOMIC_SEQ_CST); } #else