summary refs log tree commit diff
path: root/sysdeps/htl/pt-once.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 23:45:23 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 23:45:23 +0000
commitfba7fc5a21f5c56e4878228d2311d040e5b84653 (patch)
treeb89150c1dfec0205b7d4996d776d37fb177e2ec4 /sysdeps/htl/pt-once.c
parent8ba6ad703cb38ec57cdb473650ac289e5f8496d5 (diff)
downloadglibc-fba7fc5a21f5c56e4878228d2311d040e5b84653.tar.gz
glibc-fba7fc5a21f5c56e4878228d2311d040e5b84653.tar.xz
glibc-fba7fc5a21f5c56e4878228d2311d040e5b84653.zip
htl C11 threads: Avoid pthread_ symbols visibility in static library
Diffstat (limited to 'sysdeps/htl/pt-once.c')
-rw-r--r--sysdeps/htl/pt-once.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/pt-once.c b/sysdeps/htl/pt-once.c
index 0104eebd3e..110891c23f 100644
--- a/sysdeps/htl/pt-once.c
+++ b/sysdeps/htl/pt-once.c
@@ -53,4 +53,4 @@ __pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 
   return 0;
 }
-strong_alias (__pthread_once, pthread_once);
+weak_alias (__pthread_once, pthread_once);