about summary refs log tree commit diff
path: root/nptl/pthread_self.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_self.c')
-rw-r--r--nptl/pthread_self.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthread_self.c b/nptl/pthread_self.c
index ae173c4661..bcf32068ea 100644
--- a/nptl/pthread_self.c
+++ b/nptl/pthread_self.c
@@ -20,7 +20,8 @@
 #include <tls.h>
 
 pthread_t
-pthread_self (void)
+__pthread_self (void)
 {
   return (pthread_t) THREAD_SELF;
 }
+weak_alias (__pthread_self, pthread_self)