aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pthreadP.h
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2025-01-03 12:37:50 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-29 02:32:36 +0100
commit9a31eb64dbd4f2d16b206eba20960d2c10414dd8 (patch)
treea48989fb5a66f9f8652eeddb5a779aaaaf1c344e /sysdeps/htl/pthreadP.h
parent265c5991afde5b64bf895f3a561c23f64ae4a5f9 (diff)
downloadglibc-9a31eb64dbd4f2d16b206eba20960d2c10414dd8.tar.xz
glibc-9a31eb64dbd4f2d16b206eba20960d2c10414dd8.zip
htl: move pthread_setcanceltype into libc.
Message-ID: <20250103103750.870897-7-gfleury@disroot.org>
Diffstat (limited to 'sysdeps/htl/pthreadP.h')
-rw-r--r--sysdeps/htl/pthreadP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h
index c39c7f117b..889a63200d 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -118,6 +118,9 @@ extern int __pthread_cond_clockwait (pthread_cond_t *cond,
libc_hidden_proto (__pthread_cond_clockwait);
extern int __pthread_cond_destroy (pthread_cond_t *cond);
libc_hidden_proto (__pthread_cond_destroy);
+
+extern int __pthread_setcanceltype (int __type, int *__oldtype);
+libc_hidden_proto (__pthread_setcanceltype);
extern int __pthread_sigmask (int, const sigset_t *, sigset_t *);
libc_hidden_proto (__pthread_sigmask);