summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/spinlock.h')
-rw-r--r--libpthread/linuxthreads/spinlock.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libpthread/linuxthreads/spinlock.h b/libpthread/linuxthreads/spinlock.h
index 2a3c2277f..7117898f7 100644
--- a/libpthread/linuxthreads/spinlock.h
+++ b/libpthread/linuxthreads/spinlock.h
@@ -172,8 +172,7 @@ static __inline__ int __pthread_alt_trylock (struct _pthread_fastlock * lock)
/* Operations on pthread_atomic, which is defined in internals.h */
-static __inline__ long
-pthread_atomic_increment (struct pthread_atomic *pa)
+static __inline__ long atomic_increment(struct pthread_atomic *pa)
{
long oldval;
@@ -185,8 +184,7 @@ pthread_atomic_increment (struct pthread_atomic *pa)
}
-static __inline__ long
-pthread_atomic_decrement (struct pthread_atomic *pa)
+static __inline__ long atomic_decrement(struct pthread_atomic *pa)
{
long oldval;
@@ -198,7 +196,7 @@ pthread_atomic_decrement (struct pthread_atomic *pa)
}
-static __inline__ __attribute__((always_inline)) void
+static __inline__ void
__pthread_set_own_extricate_if (pthread_descr self, pthread_extricate_if *peif)
{
/* Only store a non-null peif if the thread has cancellation enabled.