htl: move __pthread_sigstate into libc.

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

View File

@ -118,7 +118,6 @@ libpthread-routines := \
pt-machdep \ pt-machdep \
pt-spin \ pt-spin \
pt-sigstate-init \ pt-sigstate-init \
pt-sigstate \
pt-kill \ pt-kill \
pt-getcpuclockid \ pt-getcpuclockid \
pt-setschedprio \ pt-setschedprio \
@ -210,6 +209,7 @@ routines := \
pt-pthread_self \ pt-pthread_self \
pt-self pt-equal \ pt-self pt-equal \
pt-setschedparam \ pt-setschedparam \
pt-sigstate \
pt-sigstate-destroy \ pt-sigstate-destroy \
# routines # routines
shared-only-routines = forward shared-only-routines = forward

View File

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

View File

@ -313,6 +313,7 @@ extern error_t __pthread_sigstate (struct __pthread *__restrict thread, int how,
const sigset_t *__restrict set, const sigset_t *__restrict set,
sigset_t *__restrict oset, sigset_t *__restrict oset,
int clear_pending); int clear_pending);
libc_hidden_proto (__pthread_sigstate)
/* If supported, check that MUTEX is locked by the caller. */ /* If supported, check that MUTEX is locked by the caller. */
extern int __pthread_mutex_checklocked (pthread_mutex_t *mtx); extern int __pthread_mutex_checklocked (pthread_mutex_t *mtx);

View File

@ -82,3 +82,4 @@ __pthread_sigstate (struct __pthread *thread, int how,
return err; return err;
} }
libc_hidden_def (__pthread_sigstate)