summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/mips/bits')
-rw-r--r--libc/sysdeps/linux/mips/bits/atomicity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/mips/bits/atomicity.h b/libc/sysdeps/linux/mips/bits/atomicity.h
index bccacd9c9..5d1020352 100644
--- a/libc/sysdeps/linux/mips/bits/atomicity.h
+++ b/libc/sysdeps/linux/mips/bits/atomicity.h
@@ -23,7 +23,7 @@
#include <inttypes.h>
static inline int
-__attribute__ ((unused))
+__attribute_used__
exchange_and_add (volatile uint32_t *mem, int val)
{
int result, tmp;
@@ -47,7 +47,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)
{
int result;
@@ -69,7 +69,7 @@ atomic_add (volatile uint32_t *mem, int val)
}
static inline int
-__attribute__ ((unused))
+__attribute_used__
compare_and_swap (volatile long int *p, long int oldval, long int newval)
{
long int ret, temp;