diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/Versions | 1 | ||||
-rw-r--r-- | hurd/thread-self.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/hurd/Versions b/hurd/Versions index 3d8b412d49..439e8abf32 100644 --- a/hurd/Versions +++ b/hurd/Versions @@ -156,6 +156,7 @@ libc { __libc_open; __libc_close; # Used by libpthread. + __hurd_thread_self; _hurd_sigstate_set_global_rcv; _hurd_sigstate_lock; _hurd_sigstate_pending; 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) |