mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
htl: move pthread_mutexattr_destroy into libc.
Message-ID: <20241231134909.1166440-3-gfleury@disroot.org>
This commit is contained in:
parent
826b1bbcca
commit
beabc5dff5
@ -54,7 +54,6 @@ libpthread-routines := \
|
||||
pt-setcanceltype \
|
||||
pt-testcancel \
|
||||
pt-cancel \
|
||||
pt-mutexattr-destroy \
|
||||
pt-mutexattr-getprioceiling \
|
||||
pt-mutexattr-getprotocol \
|
||||
pt-mutexattr-getpshared \
|
||||
@ -200,6 +199,7 @@ routines := \
|
||||
pt-condattr-setpshared \
|
||||
pt-getschedparam \
|
||||
pt-mutex-checklocked \
|
||||
pt-mutexattr-destroy \
|
||||
pt-mutexattr-init \
|
||||
pt-nthreads \
|
||||
pt-pthread_self \
|
||||
|
@ -38,6 +38,7 @@ libc {
|
||||
pthread_condattr_getpshared;
|
||||
pthread_condattr_setclock;
|
||||
pthread_condattr_setpshared;
|
||||
pthread_mutexattr_destroy;
|
||||
pthread_mutexattr_init;
|
||||
pthread_sigmask;
|
||||
}
|
||||
@ -115,6 +116,7 @@ libc {
|
||||
__pthread_condattr_init;
|
||||
__pthread_default_condattr;
|
||||
__pthread_mutex_checklocked;
|
||||
__pthread_mutexattr_destroy;
|
||||
__pthread_mutexattr_init;
|
||||
__pthread_sigstate;
|
||||
__pthread_sigstate_destroy;
|
||||
@ -176,7 +178,7 @@ libpthread {
|
||||
pthread_mutex_timedlock; pthread_mutex_transfer_np;
|
||||
pthread_mutex_trylock; pthread_mutex_unlock;
|
||||
|
||||
pthread_mutexattr_destroy; pthread_mutexattr_getprioceiling;
|
||||
pthread_mutexattr_getprioceiling;
|
||||
pthread_mutexattr_getprotocol; pthread_mutexattr_getpshared;
|
||||
pthread_mutexattr_gettype;
|
||||
pthread_mutexattr_setprioceiling; pthread_mutexattr_setprotocol;
|
||||
|
@ -77,6 +77,7 @@ extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
|
||||
const pthread_mutexattr_t *__mutex_attr);
|
||||
|
||||
extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
|
||||
libc_hidden_proto (__pthread_mutex_destroy)
|
||||
|
||||
extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex);
|
||||
|
||||
@ -88,6 +89,7 @@ extern int __pthread_mutexattr_init (pthread_mutexattr_t *__attr);
|
||||
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);
|
||||
@ -123,7 +125,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_destroy)
|
||||
weak_extern (__pthread_mutexattr_settype)
|
||||
weak_extern (__pthread_rwlock_init)
|
||||
weak_extern (__pthread_rwlock_destroy)
|
||||
@ -145,7 +146,6 @@ weak_extern (__pthread_setcancelstate)
|
||||
# pragma weak __pthread_mutex_lock
|
||||
# pragma weak __pthread_mutex_trylock
|
||||
# pragma weak __pthread_mutex_unlock
|
||||
# pragma weak __pthread_mutexattr_destroy
|
||||
# pragma weak __pthread_mutexattr_settype
|
||||
# pragma weak __pthread_rwlock_destroy
|
||||
# pragma weak __pthread_rwlock_rdlock
|
||||
|
@ -29,5 +29,5 @@ __pthread_mutexattr_destroy (pthread_mutexattr_t *attrp)
|
||||
(void) attrp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
hidden_def (__pthread_mutexattr_destroy)
|
||||
weak_alias (__pthread_mutexattr_destroy, pthread_mutexattr_destroy)
|
||||
|
@ -63,6 +63,7 @@ GLIBC_2.12 pthread_condattr_setclock F
|
||||
GLIBC_2.12 pthread_condattr_setpshared F
|
||||
GLIBC_2.12 pthread_equal F
|
||||
GLIBC_2.12 pthread_getschedparam F
|
||||
GLIBC_2.12 pthread_mutexattr_destroy F
|
||||
GLIBC_2.12 pthread_mutexattr_init F
|
||||
GLIBC_2.12 pthread_self F
|
||||
GLIBC_2.12 pthread_setschedparam F
|
||||
|
@ -50,7 +50,6 @@ GLIBC_2.12 pthread_mutex_timedlock F
|
||||
GLIBC_2.12 pthread_mutex_transfer_np F
|
||||
GLIBC_2.12 pthread_mutex_trylock F
|
||||
GLIBC_2.12 pthread_mutex_unlock F
|
||||
GLIBC_2.12 pthread_mutexattr_destroy F
|
||||
GLIBC_2.12 pthread_mutexattr_getprioceiling F
|
||||
GLIBC_2.12 pthread_mutexattr_getprotocol F
|
||||
GLIBC_2.12 pthread_mutexattr_getpshared F
|
||||
|
@ -1551,6 +1551,7 @@ GLIBC_2.38 pthread_mutex_destroy F
|
||||
GLIBC_2.38 pthread_mutex_init F
|
||||
GLIBC_2.38 pthread_mutex_lock F
|
||||
GLIBC_2.38 pthread_mutex_unlock F
|
||||
GLIBC_2.38 pthread_mutexattr_destroy F
|
||||
GLIBC_2.38 pthread_mutexattr_init F
|
||||
GLIBC_2.38 pthread_self F
|
||||
GLIBC_2.38 pthread_setcancelstate F
|
||||
|
@ -73,7 +73,6 @@ GLIBC_2.38 pthread_mutex_timedlock F
|
||||
GLIBC_2.38 pthread_mutex_transfer_np F
|
||||
GLIBC_2.38 pthread_mutex_trylock F
|
||||
GLIBC_2.38 pthread_mutex_unlock F
|
||||
GLIBC_2.38 pthread_mutexattr_destroy F
|
||||
GLIBC_2.38 pthread_mutexattr_getprioceiling F
|
||||
GLIBC_2.38 pthread_mutexattr_getprotocol F
|
||||
GLIBC_2.38 pthread_mutexattr_getpshared F
|
||||
|
Loading…
Reference in New Issue
Block a user