From 56b25bfd60b736c7e7124b6fdd505a5622531a87 Mon Sep 17 00:00:00 2001 From: gfleury Date: Wed, 29 Jan 2025 00:33:04 +0100 Subject: [PATCH] htl: remove leftover for pthread_mutexattr_settype from b386295727d35a83aa3d4750e198cbf8040c9a23 --- sysdeps/htl/libc-lockP.h | 5 ----- sysdeps/htl/pthreadP.h | 1 - 2 files changed, 6 deletions(-) diff --git a/sysdeps/htl/libc-lockP.h b/sysdeps/htl/libc-lockP.h index a3a53e8833..30801f935f 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 20dd5a1cc5..58bcd93006 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)