about summary refs log tree commit diff
path: root/hurd/thread-self.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/thread-self.c')
-rw-r--r--hurd/thread-self.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hurd/thread-self.c b/hurd/thread-self.c
index f37181656e..af013503bf 100644
--- a/hurd/thread-self.c
+++ b/hurd/thread-self.c
@@ -19,7 +19,10 @@
 #include <hurd/signal.h>
 
 thread_t
-hurd_thread_self (void)
+__hurd_thread_self (void)
 {
   return _hurd_self_sigstate ()->thread;
 }
+
+libc_hidden_def (__hurd_thread_self)
+weak_alias (__hurd_thread_self, hurd_thread_self)