]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: move __pthread_sigstate_destroy into libc.
authorgfleury <gfleury@disroot.org>
Thu, 12 Dec 2024 22:06:10 +0000 (00:06 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 14 Dec 2024 22:11:45 +0000 (23:11 +0100)
Message-ID: <20241212220612.782313-1-gfleury@disroot.org>

htl/Makefile
htl/Versions
htl/pt-internal.h
sysdeps/mach/hurd/htl/pt-sigstate-destroy.c

index b0bc0d97bf5045a3d8874356662e2eeb3fa418e4..4c996a9eb3fd6f44a90d6f6ef93de0c23dc4d1fe 100644 (file)
@@ -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
 
index 33a3cfa7a57b0c9d45b18f009714939c1ce2c226..388e61693041d1a125c8def914a1051baaba0f4d 100644 (file)
@@ -94,6 +94,7 @@ libc {
     __pthread_attr_setstack;
     __pthread_condattr_init;
     __pthread_default_condattr;
+    __pthread_sigstate_destroy;
   }
 }
 
index 23fdb73f68ab8e453fb62e3d38d0900324ba42cc..6bf189501df06ffb5dc6a588ae2fa6aa9e82b15a 100644 (file)
@@ -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,
index 3e97e9d966f234504e3378036f1ee1b430d7ee8a..4d9b08121ce5e803324007ce925f6dd0b99b3c06 100644 (file)
@@ -26,3 +26,4 @@ __pthread_sigstate_destroy (struct __pthread *thread)
 {
   _hurd_sigstate_delete (thread->kernel_thread);
 }
+libc_hidden_def (__pthread_sigstate_destroy)