]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: move __pthread_sigstate_init into libc.
authorgfleury <gfleury@disroot.org>
Fri, 15 Aug 2025 18:14:55 +0000 (20:14 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 15 Aug 2025 23:44:51 +0000 (01:44 +0200)
Message-ID: <20250815181500.107433-15-gfleury@disroot.org>

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

index 7ce56265f553be6a3332415ec388d1ba2807344d..52f784a72de0e8ed9394a62b718abe4d0e7b7348 100644 (file)
@@ -37,7 +37,6 @@ libpthread-routines := \
   pt-sysdep \
   pt-setup \
   pt-spin \
-  pt-sigstate-init \
   pt-getname-np \
   pt-setname-np \
   sem_close \
@@ -202,6 +201,7 @@ routines := \
   pt-sigmask \
   pt-sigstate \
   pt-sigstate-destroy \
+  pt-sigstate-init \
   pt-stack-alloc \
   pt-testcancel \
   pt-thread-alloc \
index 7d0b5f21be399c032f08677d2f408272779fb4ac..4845742fc33e0abe82420f096b953242677de25b 100644 (file)
@@ -258,6 +258,7 @@ libc {
     __pthread_mutexattr_settype;
     __pthread_once;
     __pthread_setspecific;
+    __pthread_sigstate_init;
     __pthread_sigstate;
     __pthread_sigstate_destroy;
     __pthread_sigmask;
index 7651446b3b8be5eae6a9c8a99a48cb8bbecdd972..24d0964ebfa3163e79dadf34ba5273749db1ca28 100644 (file)
@@ -311,6 +311,7 @@ libc_hidden_proto (__pthread_destroy_specific)
 /* Initialize newly create thread *THREAD's signal state data
    structures.  */
 extern error_t __pthread_sigstate_init (struct __pthread *thread);
+libc_hidden_proto (__pthread_sigstate_init)
 
 /* Destroy the signal state data structures associated with thread
    *THREAD.  */
index 5a17dd598268c4f88059ac6eee2675595f2bd456..a0c7f277e392b090bc7320ea8779a31a2b898f34 100644 (file)
@@ -19,6 +19,7 @@
 #include <pthread.h>
 #include <pt-internal.h>
 #include <hurd/signal.h>
+#include <ldsodefs.h>
 
 error_t
 __pthread_sigstate_init (struct __pthread *thread)
@@ -42,3 +43,5 @@ __pthread_sigstate_init (struct __pthread *thread)
 
   return 0;
 }
+
+libc_hidden_def (__pthread_sigstate_init)