summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-21 17:29:13 +0200
committerMike Frysinger <vapier@gentoo.org>2012-11-18 05:09:42 -0500
commit38cc9874d3651d10c75c7a7dce9a2a86a10d0300 (patch)
tree5c9865d0566fcaf1a592d9218ab2fd552e820fbd /libc/sysdeps
parente63f98ff27516982c294ec05d9de95bfd72863dd (diff)
AVR32: declare missing result variable
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/avr32/bits/atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/avr32/bits/atomic.h b/libc/sysdeps/linux/avr32/bits/atomic.h
index e6be41f01..3bc2aeefc 100644
--- a/libc/sysdeps/linux/avr32/bits/atomic.h
+++ b/libc/sysdeps/linux/avr32/bits/atomic.h
@@ -28,6 +28,7 @@ typedef uintmax_t uatomic_max_t;
#define __arch_compare_and_exchange_val_32_acq(mem, newval, oldval) \
({ \
+ __uint32_t __result; \
__typeof__(*(mem)) __prev; \
__asm__ __volatile__( \
"/* __arch_compare_and_exchange_val_32_acq */\n" \