summaryrefslogtreecommitdiffstats
path: root/include/stdatomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdatomic.h')
-rw-r--r--include/stdatomic.h4
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
/*
OpenPOWER on IntegriCloud