summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/alpha
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-20 06:33:11 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-20 06:33:11 +0000
commitfbfde146ca8e9e2c830bbd659027a6ca69aa8c33 (patch)
treec330cdd430849f6ed133ec1856f60f5d076a916f /libc/sysdeps/linux/alpha
parent44ea58d5387b030e80ca1a5c1ea8bbd8bfc0cd54 (diff)
Cope with gcc 3.4's more aggressive persuit of attribute unused
Diffstat (limited to 'libc/sysdeps/linux/alpha')
-rw-r--r--libc/sysdeps/linux/alpha/bits/atomicity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/alpha/bits/atomicity.h b/libc/sysdeps/linux/alpha/bits/atomicity.h
index 9388f2384..df6e01a1e 100644
--- a/libc/sysdeps/linux/alpha/bits/atomicity.h
+++ b/libc/sysdeps/linux/alpha/bits/atomicity.h
@@ -24,7 +24,7 @@
static inline int
-__attribute__ ((unused))
+__attribute_used__
exchange_and_add (volatile uint32_t *mem, int val)
{
register int result, tmp;
@@ -49,7 +49,7 @@ exchange_and_add (volatile uint32_t *mem, int val)
}
static inline void
-__attribute__ ((unused))
+__attribute_used__
atomic_add (volatile uint32_t *mem, int val)
{
register int result;
@@ -72,7 +72,7 @@ atomic_add (volatile uint32_t *mem, int val)
}
static inline long
-__attribute__ ((unused))
+__attribute_used__
compare_and_swap (volatile long int *p, long int oldval, long int newval)
{
long int ret;