diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-10 11:35:05 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-20 08:57:01 +0100 |
commit | dc6cfdc934db9997c33728082d63552b9eee4563 (patch) | |
tree | f2b9641c24288f1d167a8062e35e726d5aefaf4e /nptl/old_pthread_cond_destroy.c | |
parent | 7da5c345a5f527dc6213e8540e4a9c6eceeb6774 (diff) | |
download | glibc-dc6cfdc934db9997c33728082d63552b9eee4563.tar.gz glibc-dc6cfdc934db9997c33728082d63552b9eee4563.tar.xz glibc-dc6cfdc934db9997c33728082d63552b9eee4563.zip |
nptl: Move pthread_cond_destroy implementation into libc
It is necessary to export __pthread_cond_destroy 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/old_pthread_cond_destroy.c')
-rw-r--r-- | nptl/old_pthread_cond_destroy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/old_pthread_cond_destroy.c b/nptl/old_pthread_cond_destroy.c index 46dad05d49..4996deceb8 100644 --- a/nptl/old_pthread_cond_destroy.c +++ b/nptl/old_pthread_cond_destroy.c @@ -21,7 +21,7 @@ #include <shlib-compat.h> -#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2) +#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3_2) int __pthread_cond_destroy_2_0 (pthread_cond_2_0_t *cond) { @@ -30,6 +30,6 @@ __pthread_cond_destroy_2_0 (pthread_cond_2_0_t *cond) return 0; } -compat_symbol (libpthread, __pthread_cond_destroy_2_0, pthread_cond_destroy, +compat_symbol (libc, __pthread_cond_destroy_2_0, pthread_cond_destroy, GLIBC_2_0); #endif |