diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-10 11:47:13 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-20 08:57:01 +0100 |
commit | ad96df2cd9194b84686c272257e96ea74caff72a (patch) | |
tree | 79e60424dc5ad85debebe8919398006a6ca194b8 /nptl/forward.c | |
parent | dc6cfdc934db9997c33728082d63552b9eee4563 (diff) | |
download | glibc-ad96df2cd9194b84686c272257e96ea74caff72a.tar glibc-ad96df2cd9194b84686c272257e96ea74caff72a.tar.gz glibc-ad96df2cd9194b84686c272257e96ea74caff72a.tar.bz2 glibc-ad96df2cd9194b84686c272257e96ea74caff72a.zip |
nptl: Move pthread_cond_init implementation into libc
It is necessary to export __pthread_cond_init from libc because
the C11 condition variable needs it and is still left in libpthread.
This is part of the libpthread removal project:
<https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/forward.c')
-rw-r--r-- | nptl/forward.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/nptl/forward.c b/nptl/forward.c index 3e1734854e..6ee4b92d52 100644 --- a/nptl/forward.c +++ b/nptl/forward.c @@ -67,17 +67,6 @@ versioned_symbol (libc, __pthread_cond_broadcast, pthread_cond_broadcast, GLIBC_2_3_2); #if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3_2) -FORWARD2 (__pthread_cond_init_2_0, int attribute_compat_text_section, - (pthread_cond_2_0_t *cond, const pthread_condattr_t *cond_attr), - (cond, cond_attr), return 0) -compat_symbol (libc, __pthread_cond_init_2_0, pthread_cond_init, GLIBC_2_0); -#endif -FORWARD (__pthread_cond_init, - (pthread_cond_t *cond, const pthread_condattr_t *cond_attr), - (cond, cond_attr), 0) -versioned_symbol (libc, __pthread_cond_init, pthread_cond_init, GLIBC_2_3_2); - -#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3_2) FORWARD2 (__pthread_cond_signal_2_0, int attribute_compat_text_section, (pthread_cond_2_0_t *cond), (cond), return 0) compat_symbol (libc, __pthread_cond_signal_2_0, pthread_cond_signal, |