diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-17 09:59:14 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-17 10:25:11 +0200 |
commit | 8f72bed1aa42105cd2353333363f2138c7d531a9 (patch) | |
tree | b3413f04a2c2a15ffb90df8909dad5b343b69f65 /nptl/pthreadP.h | |
parent | 9dc21009a47300f62b2a1fd9fec2270a21bd7c3d (diff) | |
download | glibc-8f72bed1aa42105cd2353333363f2138c7d531a9.zip glibc-8f72bed1aa42105cd2353333363f2138c7d531a9.tar.gz glibc-8f72bed1aa42105cd2353333363f2138c7d531a9.tar.bz2 |
nptl: Move pthread_getattr_default_np into libc
The symbol was moved using scripts/move-symbol-to-libc.py.
A new placeholder symbol __libpthread_version_placeholder@GLIBC_2.18
is needed to keep the GLIBC_2.18 symbol version in libpthread.
The __pthread_getattr_default_np@@GLIBC_PRIVATE export is used
from pthread_create.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index a4a87cb..f93806e 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -413,7 +413,7 @@ extern int __pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, int __pthread_attr_setaffinity_np (pthread_attr_t *, size_t, const cpu_set_t *); libc_hidden_proto (__pthread_attr_setaffinity_np) extern __typeof (pthread_getattr_default_np) __pthread_getattr_default_np; -libpthread_hidden_proto (__pthread_getattr_default_np) +libc_hidden_proto (__pthread_getattr_default_np) extern int __pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr); |