diff --git a/htl/Makefile b/htl/Makefile index b0bc0d97bf..4c996a9eb3 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -118,7 +118,6 @@ libpthread-routines := \ pt-machdep \ pt-spin \ pt-sigstate-init \ - pt-sigstate-destroy \ pt-sigstate \ pt-kill \ pt-getcpuclockid \ @@ -211,6 +210,7 @@ routines := \ pt-pthread_self \ pt-self pt-equal \ pt-setschedparam \ + pt-sigstate-destroy \ # routines shared-only-routines = forward diff --git a/htl/Versions b/htl/Versions index 33a3cfa7a5..388e616930 100644 --- a/htl/Versions +++ b/htl/Versions @@ -94,6 +94,7 @@ libc { __pthread_attr_setstack; __pthread_condattr_init; __pthread_default_condattr; + __pthread_sigstate_destroy; } } diff --git a/htl/pt-internal.h b/htl/pt-internal.h index 23fdb73f68..6bf189501d 100644 --- a/htl/pt-internal.h +++ b/htl/pt-internal.h @@ -306,6 +306,7 @@ extern error_t __pthread_sigstate_init (struct __pthread *thread); /* Destroy the signal state data structures associated with thread *THREAD. */ extern void __pthread_sigstate_destroy (struct __pthread *thread); +libc_hidden_proto (__pthread_sigstate_destroy) /* Modify thread *THREAD's signal state. */ extern error_t __pthread_sigstate (struct __pthread *__restrict thread, int how, diff --git a/sysdeps/mach/hurd/htl/pt-sigstate-destroy.c b/sysdeps/mach/hurd/htl/pt-sigstate-destroy.c index 3e97e9d966..4d9b08121c 100644 --- a/sysdeps/mach/hurd/htl/pt-sigstate-destroy.c +++ b/sysdeps/mach/hurd/htl/pt-sigstate-destroy.c @@ -26,3 +26,4 @@ __pthread_sigstate_destroy (struct __pthread *thread) { _hurd_sigstate_delete (thread->kernel_thread); } +libc_hidden_def (__pthread_sigstate_destroy)