Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2012 22:58:32 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r229332 - head/include
Message-ID:  <201201022258.q02MwW44092153@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201022258.q02MwW44092153>