From owner-svn-src-all@FreeBSD.ORG Mon Jan 2 22:58:32 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA5FC106564A; Mon, 2 Jan 2012 22:58:32 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B4C7A8FC16; Mon, 2 Jan 2012 22:58:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q02MwWKl092155; Mon, 2 Jan 2012 22:58:32 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q02MwW44092153; Mon, 2 Jan 2012 22:58:32 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201201022258.q02MwW44092153@svn.freebsd.org> From: Ed Schouten Date: Mon, 2 Jan 2012 22:58:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r229332 - head/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 22:58:32 -0000 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 /*