diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-07-07 08:40:41 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-07-07 08:41:17 +0200 |
commit | 8ec022a037788cc540c5670b0c9b1aa137bfbf97 (patch) | |
tree | 400064397851b16fc54b18da837e2a0c969b3e3e /nptl/pthread_mutex_unlock.c | |
parent | 1f9c804fbd699104adefbce9e56d2c8aa711b6b9 (diff) | |
download | glibc-8ec022a037788cc540c5670b0c9b1aa137bfbf97.tar.gz glibc-8ec022a037788cc540c5670b0c9b1aa137bfbf97.tar.xz glibc-8ec022a037788cc540c5670b0c9b1aa137bfbf97.zip |
nptl: Remove GLIBC_2.34 versions of __pthread_mutex_lock, __pthread_mutex_unlock
Now that there are no internal users anymore, these new symbol versions can be removed from the public ABI. The compatibility symbols remain. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_mutex_unlock.c')
-rw-r--r-- | nptl/pthread_mutex_unlock.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/pthread_mutex_unlock.c b/nptl/pthread_mutex_unlock.c index ea88ba2986..7c15397572 100644 --- a/nptl/pthread_mutex_unlock.c +++ b/nptl/pthread_mutex_unlock.c @@ -368,9 +368,10 @@ ___pthread_mutex_unlock (pthread_mutex_t *mutex) { return __pthread_mutex_unlock_usercnt (mutex, 1); } -versioned_symbol (libpthread, ___pthread_mutex_unlock, __pthread_mutex_unlock, - GLIBC_2_34); libc_hidden_ver (___pthread_mutex_unlock, __pthread_mutex_unlock) +#ifndef SHARED +strong_alias (___pthread_mutex_unlock, __pthread_mutex_unlock) +#endif versioned_symbol (libpthread, ___pthread_mutex_unlock, pthread_mutex_unlock, GLIBC_2_0); |