summaryrefslogtreecommitdiff
path: root/pthread/pt-self.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-self.c')
-rw-r--r--pthread/pt-self.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pthread/pt-self.c b/pthread/pt-self.c
index 4976864..deb57c0 100644
--- a/pthread/pt-self.c
+++ b/pthread/pt-self.c
@@ -23,10 +23,12 @@
/* Return the thread ID of the calling thread. */
pthread_t
-pthread_self (void)
+__pthread_self (void)
{
struct __pthread *self = _pthread_self ();
assert (self);
return self->thread;
}
+
+strong_alias (__pthread_self, pthread_self);