about summary refs log tree commit diff
path: root/nptl/pthread_cond_signal.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:49 +0200
commiteef936eb458e5dfccceee6d3c4220f9a1c62832b (patch)
tree00c1601e791ccc135b4c37385520b997bb30331f /nptl/pthread_cond_signal.c
parent3eab466e566c5c28cbec55b092fe21e134baac22 (diff)
downloadglibc-eef936eb458e5dfccceee6d3c4220f9a1c62832b.tar.gz
glibc-eef936eb458e5dfccceee6d3c4220f9a1c62832b.tar.xz
glibc-eef936eb458e5dfccceee6d3c4220f9a1c62832b.zip
nptl: Move cnd_signal into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

The __pthread_cond_signal@@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_signal.c')
-rw-r--r--nptl/pthread_cond_signal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/pthread_cond_signal.c b/nptl/pthread_cond_signal.c
index 17b4a69702..171193b13e 100644
--- a/nptl/pthread_cond_signal.c
+++ b/nptl/pthread_cond_signal.c
@@ -98,5 +98,6 @@ ___pthread_cond_signal (pthread_cond_t *cond)
 versioned_symbol (libpthread, ___pthread_cond_signal, pthread_cond_signal,
 		  GLIBC_2_3_2);
 libc_hidden_ver (___pthread_cond_signal, __pthread_cond_signal)
-versioned_symbol (libpthread, ___pthread_cond_signal,
-		  __pthread_cond_signal, GLIBC_PRIVATE);
+#ifndef SHARED
+strong_alias (___pthread_cond_signal, __pthread_cond_signal)
+#endif