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/pthread_cond_destroy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/pthread_cond_destroy.c') diff --git a/nptl/pthread_cond_destroy.c b/nptl/pthread_cond_destroy.c index 168546574b..31034905d1 100644 --- a/nptl/pthread_cond_destroy.c +++ b/nptl/pthread_cond_destroy.c @@ -58,5 +58,6 @@ __pthread_cond_destroy (pthread_cond_t *cond) /* The memory the condvar occupies can now be reused. */ return 0; } -versioned_symbol (libpthread, __pthread_cond_destroy, +libc_hidden_def (__pthread_cond_destroy) +versioned_symbol (libc, __pthread_cond_destroy, pthread_cond_destroy, GLIBC_2_3_2); -- cgit 1.4.1