htl: move __pthread_sigstate_destroy into libc.

Message-ID: <20241212220612.782313-1-gfleury@disroot.org>
This commit is contained in:
gfleury 2024-12-13 00:06:10 +02:00 committed by Samuel Thibault
parent 335ba9b6c1
commit dca0807a4d
4 changed files with 4 additions and 1 deletions

View 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

View File

@ -94,6 +94,7 @@ libc {
__pthread_attr_setstack;
__pthread_condattr_init;
__pthread_default_condattr;
__pthread_sigstate_destroy;
}
}

View 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,

View File

@ -26,3 +26,4 @@ __pthread_sigstate_destroy (struct __pthread *thread)
{
_hurd_sigstate_delete (thread->kernel_thread);
}
libc_hidden_def (__pthread_sigstate_destroy)