aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgfleury <gfleury@disroot.org>2025-01-29 00:33:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-01-29 02:32:36 +0100
commit56b25bfd60b736c7e7124b6fdd505a5622531a87 (patch)
tree6497efc6adab46ef2cd7a17442b1b3c028d5c3fe
parent203452a460143c2b0bf80e0e92027e0fd6e19fa4 (diff)
downloadglibc-56b25bfd60b736c7e7124b6fdd505a5622531a87.zip
glibc-56b25bfd60b736c7e7124b6fdd505a5622531a87.tar.gz
glibc-56b25bfd60b736c7e7124b6fdd505a5622531a87.tar.bz2
htl: remove leftover for pthread_mutexattr_settype
from b386295727d35a83aa3d4750e198cbf8040c9a23
-rw-r--r--sysdeps/htl/libc-lockP.h5
-rw-r--r--sysdeps/htl/pthreadP.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/htl/libc-lockP.h b/sysdeps/htl/libc-lockP.h
index a3a53e8..30801f9 100644
--- a/sysdeps/htl/libc-lockP.h
+++ b/sysdeps/htl/libc-lockP.h
@@ -91,9 +91,6 @@ libc_hidden_proto (__pthread_mutexattr_init)
extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr);
libc_hidden_proto (__pthread_mutexattr_destroy)
-extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr,
- int __kind);
-
extern int __pthread_rwlock_init (pthread_rwlock_t *__rwlock,
const pthread_rwlockattr_t *__attr);
@@ -125,7 +122,6 @@ weak_extern (__pthread_mutex_destroy)
weak_extern (__pthread_mutex_lock)
weak_extern (__pthread_mutex_trylock)
weak_extern (__pthread_mutex_unlock)
-weak_extern (__pthread_mutexattr_settype)
weak_extern (__pthread_rwlock_init)
weak_extern (__pthread_rwlock_destroy)
weak_extern (__pthread_rwlock_rdlock)
@@ -146,7 +142,6 @@ weak_extern (__pthread_setcancelstate)
# pragma weak __pthread_mutex_lock
# pragma weak __pthread_mutex_trylock
# pragma weak __pthread_mutex_unlock
-# pragma weak __pthread_mutexattr_settype
# pragma weak __pthread_rwlock_destroy
# pragma weak __pthread_rwlock_rdlock
# pragma weak __pthread_rwlock_tryrdlock
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h
index 20dd5a1..58bcd93 100644
--- a/sysdeps/htl/pthreadP.h
+++ b/sysdeps/htl/pthreadP.h
@@ -38,7 +38,6 @@ extern int __pthread_mutex_trylock (pthread_mutex_t *_mutex);
extern int __pthread_mutex_timedlock (pthread_mutex_t *__mutex,
const struct timespec *__abstime);
extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
-extern int __pthread_mutexattr_settype (pthread_mutexattr_t *attr, int kind);
extern int __pthread_mutexattr_getpshared(const pthread_mutexattr_t *__restrict __attr,
int *__restrict __pshared);
libc_hidden_proto (__pthread_mutexattr_getpshared)