summaryrefslogtreecommitdiff
path: root/sysdeps/i386/bits/memory.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-01-01 04:07:14 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2008-01-01 04:07:14 +0000
commita831c87b798b78c22ef496de6ddb2e6e447aabad (patch)
tree9b47b847de2105fcd6464e54106356e791945190 /sysdeps/i386/bits/memory.h
parent0697fd051821d7b44b3c9ab2face57438e1a764a (diff)
2008-01-01 Samuel Thibault <samuel.thibault@ens-lyon.org
* include/pthread/pthread.h (pthread_spin_destroy, pthread_spin_init, pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock): Use __extern_inline macro instead of extern __inline. * sysdeps/i386/bits/spin-lock.h (__PT_SPIN_INLINE, __pthread_spin_lock): Likewise * sysdeps/mach/bits/spin-lock.h (__PT_SPIN_INLINE, __pthread_spin_lock): Likewise * sysdeps/generic/bits/pthread.h (pthread_equal): Declare ; only provide inline when __USE_EXTERN_INLINES is defined. Use __extern_inline macro instead of extern __inline. * sysdeps/i386/bits/memory.h (__memory_barrier): Add static to inline.
Diffstat (limited to 'sysdeps/i386/bits/memory.h')
-rw-r--r--sysdeps/i386/bits/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/bits/memory.h b/sysdeps/i386/bits/memory.h
index 201305b..57c1463 100644
--- a/sysdeps/i386/bits/memory.h
+++ b/sysdeps/i386/bits/memory.h
@@ -21,7 +21,7 @@
#define _BITS_MEMORY_H 1
/* Prevent read and write reordering across this function. */
-inline void
+static inline void
__memory_barrier (void)
{
int i;