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/nptl-init.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/nptl-init.c')
-rw-r--r-- | nptl/nptl-init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nptl/nptl-init.c b/nptl/nptl-init.c index 068eb3dfb6..855225e01a 100644 --- a/nptl/nptl-init.c +++ b/nptl/nptl-init.c @@ -73,13 +73,11 @@ void __nptl_set_robust (struct pthread *); static const struct pthread_functions pthread_functions = { .ptr___pthread_cond_broadcast = __pthread_cond_broadcast, - .ptr___pthread_cond_init = __pthread_cond_init, .ptr___pthread_cond_signal = __pthread_cond_signal, .ptr___pthread_cond_wait = __pthread_cond_wait, .ptr___pthread_cond_timedwait = __pthread_cond_timedwait, # if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2) .ptr___pthread_cond_broadcast_2_0 = __pthread_cond_broadcast_2_0, - .ptr___pthread_cond_init_2_0 = __pthread_cond_init_2_0, .ptr___pthread_cond_signal_2_0 = __pthread_cond_signal_2_0, .ptr___pthread_cond_wait_2_0 = __pthread_cond_wait_2_0, .ptr___pthread_cond_timedwait_2_0 = __pthread_cond_timedwait_2_0, |