aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_self.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_self.c')
-rw-r--r--nptl/pthread_self.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/pthread_self.c b/nptl/pthread_self.c
index f877a2e6bd..196d93fb8e 100644
--- a/nptl/pthread_self.c
+++ b/nptl/pthread_self.c
@@ -20,7 +20,9 @@
#include <tls.h>
pthread_t
-pthread_self (void)
+__pthread_self (void)
{
return (pthread_t) THREAD_SELF;
}
+libc_hidden_def (__pthread_self)
+weak_alias (__pthread_self, pthread_self)