From 15686aa188d280de3c271b4b1b115aa35c1e6851 Mon Sep 17 00:00:00 2001 From: gfleury Date: Tue, 31 Dec 2024 15:49:04 +0200 Subject: htl: move pthread_mutexattr_getprotocol into libc. Message-ID: <20241231134909.1166440-4-gfleury@disroot.org> --- sysdeps/htl/pthreadP.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/htl') diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h index b32c41b1d0..9798fcb8a5 100644 --- a/sysdeps/htl/pthreadP.h +++ b/sysdeps/htl/pthreadP.h @@ -40,6 +40,9 @@ extern int __pthread_mutex_timedlock (pthread_mutex_t *__mutex, extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex); extern int __pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind); +extern int __pthread_mutexattr_getprotocol(const pthread_mutexattr_t *__restrict __attr, + int *__restrict __protocol); +libc_hidden_proto (__pthread_mutexattr_getprotocol) extern int __pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *cond_attr); libc_hidden_proto (__pthread_cond_init) -- cgit v1.2.3