From dc6cfdc934db9997c33728082d63552b9eee4563 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 10 Feb 2020 11:35:05 +0100 Subject: 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: Reviewed-by: Adhemerval Zanella --- nptl/old_pthread_cond_destroy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/old_pthread_cond_destroy.c') diff --git a/nptl/old_pthread_cond_destroy.c b/nptl/old_pthread_cond_destroy.c index 46dad05..4996dec 100644 --- a/nptl/old_pthread_cond_destroy.c +++ b/nptl/old_pthread_cond_destroy.c @@ -21,7 +21,7 @@ #include -#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 -- cgit v1.1