svn commit: r229332 - head/include
Ed Schouten
ed at FreeBSD.org
Mon Jan 2 22:58:32 UTC 2012
Author: ed
Date: Mon Jan 2 22:58:32 2012
New Revision: 229332
URL: http://svn.freebsd.org/changeset/base/229332
Log:
Remove extraneous semicolons.
These macros are supposed to be invoked as regular functions, so remove
them.
Modified:
head/include/stdatomic.h
Modified: head/include/stdatomic.h
==============================================================================
--- head/include/stdatomic.h Mon Jan 2 22:26:26 2012 (r229331)
+++ head/include/stdatomic.h Mon Jan 2 22:58:32 2012 (r229332)
@@ -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
/*
More information about the svn-src-head
mailing list