diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-24 15:10:48 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-24 15:10:48 +0200 |
commit | 1dc2afe522b1c6d23c4d16b23e083cc38c69da55 (patch) | |
tree | 9d7e6a83cb9714c3147bce7accfd0642fa5c2581 /libc/sysdeps/linux/sh/bits/atomic.h | |
parent | 59f3d4df3b644583311e89e84cc3fbae6aec8b32 (diff) |
use uniform form of C99 keywords
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/bits/atomic.h')
-rw-r--r-- | libc/sysdeps/linux/sh/bits/atomic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/sh/bits/atomic.h b/libc/sysdeps/linux/sh/bits/atomic.h index a099b43a8..bc79b29b7 100644 --- a/libc/sysdeps/linux/sh/bits/atomic.h +++ b/libc/sysdeps/linux/sh/bits/atomic.h @@ -80,7 +80,7 @@ typedef uintmax_t uatomic_max_t; #define __arch_compare_and_exchange_n(mem, newval, oldval, bwl, version) \ ({ signed long __result; \ - __asm __volatile ("\ + __asm__ __volatile__ ("\ .align 2\n\ mova 1f,r0\n\ nop\n\ @@ -139,7 +139,7 @@ typedef uintmax_t uatomic_max_t; */ #define __arch_operate_old_new_n(mem, value, old, new, bwl, oper) \ - (void) ({ __asm __volatile ("\ + (void) ({ __asm__ __volatile__ ("\ .align 2\n\ mova 1f,r0\n\ mov r15,r1\n\ @@ -185,7 +185,7 @@ typedef uintmax_t uatomic_max_t; #define __arch_operate_new_n(mem, value, bwl, oper) \ ({ int32_t __value = (value), __new; \ - __asm __volatile ("\ + __asm__ __volatile__ ("\ .align 2\n\ mova 1f,r0\n\ mov r15,r1\n\ |