aboutsummaryrefslogtreecommitdiff
path: root/htl
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2024-12-13 00:06:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-14 23:12:01 +0100
commit79cb83c7f9d648c214e4c61fe5bd1c376b38e723 (patch)
tree6d9494273114828d7a0ec743e5629784aae7fef8 /htl
parentdca0807a4d8b9f5ebae4a4131fee8f7cdd13d07f (diff)
downloadglibc-79cb83c7f9d648c214e4c61fe5bd1c376b38e723.zip
glibc-79cb83c7f9d648c214e4c61fe5bd1c376b38e723.tar.gz
glibc-79cb83c7f9d648c214e4c61fe5bd1c376b38e723.tar.bz2
htl: move __pthread_sigstate into libc.
Message-ID: <20241212220612.782313-2-gfleury@disroot.org>
Diffstat (limited to 'htl')
-rw-r--r--htl/Makefile2
-rw-r--r--htl/Versions1
-rw-r--r--htl/pt-internal.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/htl/Makefile b/htl/Makefile
index 4c996a9..2e14f12 100644
--- a/htl/Makefile
+++ b/htl/Makefile
@@ -118,7 +118,6 @@ libpthread-routines := \
pt-machdep \
pt-spin \
pt-sigstate-init \
- pt-sigstate \
pt-kill \
pt-getcpuclockid \
pt-setschedprio \
@@ -210,6 +209,7 @@ routines := \
pt-pthread_self \
pt-self pt-equal \
pt-setschedparam \
+ pt-sigstate \
pt-sigstate-destroy \
# routines
shared-only-routines = forward
diff --git a/htl/Versions b/htl/Versions
index 388e616..5ea9887 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -94,6 +94,7 @@ libc {
__pthread_attr_setstack;
__pthread_condattr_init;
__pthread_default_condattr;
+ __pthread_sigstate;
__pthread_sigstate_destroy;
}
}
diff --git a/htl/pt-internal.h b/htl/pt-internal.h
index 6bf1895..2b4331a 100644
--- a/htl/pt-internal.h
+++ b/htl/pt-internal.h
@@ -313,6 +313,7 @@ extern error_t __pthread_sigstate (struct __pthread *__restrict thread, int how,
const sigset_t *__restrict set,
sigset_t *__restrict oset,
int clear_pending);
+libc_hidden_proto (__pthread_sigstate)
/* If supported, check that MUTEX is locked by the caller. */
extern int __pthread_mutex_checklocked (pthread_mutex_t *mtx);