diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:15:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-05 17:19:20 +0200 |
commit | 0197c1bc604e1d6357cfa07a75ab73bababa7f0f (patch) | |
tree | 3f620328ff2ee6ec68b296ee86d061067a6aa268 /nptl/pthreadP.h | |
parent | 7cbf1c8416b04c65dc3d253061d8a674ee3c616e (diff) | |
download | glibc-0197c1bc604e1d6357cfa07a75ab73bababa7f0f.tar.gz glibc-0197c1bc604e1d6357cfa07a75ab73bababa7f0f.tar.xz glibc-0197c1bc604e1d6357cfa07a75ab73bababa7f0f.zip |
nptl: Move pthread_testcancel into libc
The symbol was moved using scripts/move-symbol-to-libc.py. A temporary __pthread_testcancel@@GLIBC_PRIVATE export is created because it is needed by the semaphore implementation. 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 0ce63672c4..d480639740 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -570,6 +570,7 @@ libc_hidden_proto (__pthread_setcanceltype) extern int __pthread_enable_asynccancel (void) attribute_hidden; extern void __pthread_disable_asynccancel (int oldtype) attribute_hidden; extern void __pthread_testcancel (void); +libc_hidden_proto (__pthread_testcancel) extern int __pthread_clockjoin_ex (pthread_t, void **, clockid_t, const struct __timespec64 *, bool) attribute_hidden; @@ -579,7 +580,6 @@ libc_hidden_proto (__pthread_sigmask); #if IS_IN (libpthread) hidden_proto (__pthread_rwlock_unlock) -hidden_proto (__pthread_testcancel) #endif extern int __pthread_cond_broadcast_2_0 (pthread_cond_2_0_t *cond); |