diff options
| author | gfleury <gfleury@disroot.org> | 2025-01-03 12:37:48 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-01-29 02:32:36 +0100 |
| commit | 8bfabe7a92322bde46f25671cc29d66111321d38 (patch) | |
| tree | 6e36f4732b695b222125cd5357a1db4e8bae653a /htl | |
| parent | be9f0e768125c211383fbf0add21dd659d49bd07 (diff) | |
| download | glibc-8bfabe7a92322bde46f25671cc29d66111321d38.tar.xz glibc-8bfabe7a92322bde46f25671cc29d66111321d38.zip | |
htl: move pthread_mutex_destroy into libc.
Message-ID: <20250103103750.870897-5-gfleury@disroot.org>
Diffstat (limited to 'htl')
| -rw-r--r-- | htl/Makefile | 2 | ||||
| -rw-r--r-- | htl/Versions | 4 | ||||
| -rw-r--r-- | htl/forward.c | 2 | ||||
| -rw-r--r-- | htl/pt-initialize.c | 1 |
4 files changed, 3 insertions, 6 deletions
diff --git a/htl/Makefile b/htl/Makefile index f7e12983d2..f6abd95772 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -54,7 +54,6 @@ libpthread-routines := \ pt-setcanceltype \ pt-testcancel \ pt-cancel \ - pt-mutex-destroy \ pt-mutex-transfer-np \ pt-mutex-consistent \ pt-rwlock-attr \ @@ -182,6 +181,7 @@ routines := \ pt-condattr-setpshared \ pt-getschedparam \ pt-mutex-checklocked \ + pt-mutex-destroy \ pt-mutex-getprioceiling \ pt-mutex-init \ pt-mutex-lock \ diff --git a/htl/Versions b/htl/Versions index 9c016bc6cf..9cd9f5a937 100644 --- a/htl/Versions +++ b/htl/Versions @@ -38,6 +38,7 @@ libc { pthread_condattr_getpshared; pthread_condattr_setclock; pthread_condattr_setpshared; + pthread_mutex_destroy; pthread_mutex_getprioceiling; pthread_mutex_init; pthread_mutex_lock; @@ -151,6 +152,7 @@ libc { __pthread_condattr_init; __pthread_default_condattr; __pthread_mutex_checklocked; + __pthread_mutex_destroy; __pthread_mutex_init; __pthread_mutex_lock; __pthread_mutex_timedlock; @@ -214,7 +216,6 @@ libpthread { pthread_kill; __pthread_kill; - pthread_mutex_destroy; pthread_mutex_transfer_np; pthread_once; @@ -283,7 +284,6 @@ libpthread { __pthread_getspecific; __pthread_setspecific; __pthread_getattr_np; - __pthread_mutex_destroy; __pthread_enable_asynccancel; __pthread_disable_asynccancel; _pthread_rwlock_destroy; _pthread_rwlock_init; diff --git a/htl/forward.c b/htl/forward.c index b71099b82b..636902919e 100644 --- a/htl/forward.c +++ b/htl/forward.c @@ -58,8 +58,6 @@ FORWARD_NORETURN (__pthread_exit, void, (void *retval), (retval), exit (EXIT_SUCCESS)) strong_alias (__pthread_exit, pthread_exit); -FORWARD (pthread_mutex_destroy, (pthread_mutex_t *mutex), (mutex), 0) - FORWARD (__pthread_setcancelstate, (int state, int *oldstate), (state, oldstate), 0) strong_alias (__pthread_setcancelstate, pthread_setcancelstate); diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index b8f8c95ce3..5854bc4967 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -28,7 +28,6 @@ #if IS_IN (libpthread) static const struct pthread_functions pthread_functions = { .ptr___pthread_exit = __pthread_exit, - .ptr_pthread_mutex_destroy = __pthread_mutex_destroy, .ptr___pthread_setcancelstate = __pthread_setcancelstate, .ptr_pthread_setcanceltype = __pthread_setcanceltype, .ptr___pthread_get_cleanup_stack = __pthread_get_cleanup_stack, |
