summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/bits/mutex.h6
-rw-r--r--sysdeps/generic/bits/pthread.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/bits/mutex.h b/sysdeps/generic/bits/mutex.h
index 2baf0408..9958b8d1 100644
--- a/sysdeps/generic/bits/mutex.h
+++ b/sysdeps/generic/bits/mutex.h
@@ -108,7 +108,7 @@ __pthread_mutex_lock (struct __pthread_mutex *__mutex)
return _pthread_mutex_lock (__mutex);
}
-extern inline int
+extern __inline int
__pthread_mutex_trylock (struct __pthread_mutex *__mutex)
{
extern int _pthread_mutex_trylock (struct __pthread_mutex *);
@@ -120,13 +120,13 @@ __pthread_mutex_trylock (struct __pthread_mutex *__mutex)
return _pthread_mutex_trylock (__mutex);
}
-extern inline int
+extern __inline int
pthread_mutex_lock (struct __pthread_mutex *__mutex)
{
return __pthread_mutex_lock (__mutex);
}
-extern inline int
+extern __inline int
pthread_mutex_trylock (struct __pthread_mutex *__mutex)
{
return __pthread_mutex_trylock (__mutex);
diff --git a/sysdeps/generic/bits/pthread.h b/sysdeps/generic/bits/pthread.h
index 740325d0..3f9df13d 100644
--- a/sysdeps/generic/bits/pthread.h
+++ b/sysdeps/generic/bits/pthread.h
@@ -24,7 +24,7 @@ typedef int pthread_t;
/* Return true if __T1 and __T2 both name the same thread. Otherwise,
false. */
-extern inline int
+extern __inline int
pthread_equal (pthread_t __t1, pthread_t __t2)
{
return __t1 == __t2;