From: Mathieu Desnoyers Date: Sun, 10 Jan 2010 04:25:23 +0000 (-0500) Subject: Remove bogus ; from defines X-Git-Tag: v0.3.4~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f540a0fdac1fb71bba34c6aafff55f0e2fce7877;p=urcu.git Remove bogus ; from defines Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/arch_s390.h b/urcu/arch_s390.h index b400376..d7db70d 100644 --- a/urcu/arch_s390.h +++ b/urcu/arch_s390.h @@ -52,8 +52,8 @@ extern "C" { #endif #define mb() __asm__ __volatile__("bcr 15,0" : : : "memory") -#define rmb() __asm__ __volatile__("bcr 15,0" : : : "memory"); -#define wmb() __asm__ __volatile__("bcr 15,0" : : : "memory"); +#define rmb() __asm__ __volatile__("bcr 15,0" : : : "memory") +#define wmb() __asm__ __volatile__("bcr 15,0" : : : "memory") #define mc() barrier() #define rmc() barrier() #define wmc() barrier() diff --git a/urcu/compiler.h b/urcu/compiler.h index 975e1ea..aab2c5c 100644 --- a/urcu/compiler.h +++ b/urcu/compiler.h @@ -23,7 +23,7 @@ #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) -#define barrier() asm volatile("" : : : "memory"); +#define barrier() asm volatile("" : : : "memory") /* * Instruct the compiler to perform only a single access to a variable