aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-21 08:54:39 +0000
committerRoland McGrath <roland@gnu.org>2003-03-21 08:54:39 +0000
commit916ff11ac778b19cb38b1f06d3daf5aaee7a0c87 (patch)
tree905bbf8ea65fe4a982b5b17137cb8b9b31cffbd1
parentb97ccf3d1ee694dd5ab6d3e7ae40addff461fbaa (diff)
downloadglibc-916ff11ac778b19cb38b1f06d3daf5aaee7a0c87.zip
glibc-916ff11ac778b19cb38b1f06d3daf5aaee7a0c87.tar.gz
glibc-916ff11ac778b19cb38b1f06d3daf5aaee7a0c87.tar.bz2
2003-03-21 Roland McGrath <roland@redhat.com>
* include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
-rw-r--r--include/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/atomic.h b/include/atomic.h
index 3063037..017a845 100644
--- a/include/atomic.h
+++ b/include/atomic.h
@@ -50,7 +50,7 @@
#ifndef atomic_compare_and_exchange_bool_acq
# ifdef __arch_compare_and_exchange_bool_32_acq
-# define atomic_compare_and_exchange_val_acq(mem, newval, oldval) \
+# define atomic_compare_and_exchange_bool_acq(mem, newval, oldval) \
({ __typeof (__arch_compare_and_exchange_bool_32_acq (mem, 0, 0)) __result; \
if (sizeof (*mem) == 1) \
__result = __arch_compare_and_exchange_bool_8_acq (mem, newval, \