diff options
author | ed <ed@FreeBSD.org> | 2012-01-02 22:58:32 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-01-02 22:58:32 +0000 |
commit | d9711b945eaa22cff62094641cadfe73bf6c45f9 (patch) | |
tree | a08cf717624d5c826980b7a3f33f069ec2b6b50b /include/stdatomic.h | |
parent | 0494e8ff396fa7b13e09da8c014c574e6a72e67f (diff) | |
download | FreeBSD-src-d9711b945eaa22cff62094641cadfe73bf6c45f9.zip FreeBSD-src-d9711b945eaa22cff62094641cadfe73bf6c45f9.tar.gz |
Remove extraneous semicolons.
These macros are supposed to be invoked as regular functions, so remove
them.
Diffstat (limited to 'include/stdatomic.h')
-rw-r--r-- | include/stdatomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdatomic.h b/include/stdatomic.h index 5fd4224..1227d84 100644 --- a/include/stdatomic.h +++ b/include/stdatomic.h @@ -106,13 +106,13 @@ enum memory_order { #if defined(__CLANG_ATOMICS) #define atomic_thread_fence(order) __atomic_thread_fence(order) -#define atomic_signal_fence(order) __asm volatile ("" : : : "memory"); +#define atomic_signal_fence(order) __asm volatile ("" : : : "memory") #elif defined(__GNUC_ATOMICS) #define atomic_thread_fence(order) __atomic_thread_fence(order) #define atomic_signal_fence(order) __atomic_signal_fence(order) #else #define atomic_thread_fence(order) __sync_synchronize() -#define atomic_signal_fence(order) __asm volatile ("" : : : "memory"); +#define atomic_signal_fence(order) __asm volatile ("" : : : "memory") #endif /* |