about summary refs log tree commit diff
path: root/nptl/pthread_cond_broadcast.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-05-03 08:12:11 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-05-03 08:14:17 +0200
commit0431f171daefc436b8d185d852e45800745d7496 (patch)
treef2bb2b5e813b7c38bcba8bc76794b97720749ec8 /nptl/pthread_cond_broadcast.c
parent575295fc8314b089e52f98de4aa16a9d7aeb9bf4 (diff)
downloadglibc-0431f171daefc436b8d185d852e45800745d7496.tar.gz
glibc-0431f171daefc436b8d185d852e45800745d7496.tar.xz
glibc-0431f171daefc436b8d185d852e45800745d7496.zip
nptl: Move cnd_broadcast into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

The __pthread_cond_broadcast@@GLIBC_PRIVATE symbol is no longer
neded, so remove that as well.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/pthread_cond_broadcast.c')
-rw-r--r--nptl/pthread_cond_broadcast.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/pthread_cond_broadcast.c b/nptl/pthread_cond_broadcast.c
index 4af99544d2..f1275b2f15 100644
--- a/nptl/pthread_cond_broadcast.c
+++ b/nptl/pthread_cond_broadcast.c
@@ -90,5 +90,6 @@ ___pthread_cond_broadcast (pthread_cond_t *cond)
 versioned_symbol (libc, ___pthread_cond_broadcast,
 		  pthread_cond_broadcast, GLIBC_2_3_2);
 libc_hidden_ver (___pthread_cond_broadcast, __pthread_cond_broadcast)
-versioned_symbol (libc, ___pthread_cond_broadcast,
-		  __pthread_cond_broadcast, GLIBC_PRIVATE);
+#ifndef SHARED
+strong_alias (___pthread_cond_broadcast, __pthread_cond_broadcast)
+#endif