about summary refs log tree commit diff
path: root/nptl/pthread_getattr_default_np.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-15 22:49:46 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-06-02 10:32:09 +0200
commitdd05e154accfd3b9cd5984fa8419ffbd4edd90da (patch)
treeec1269239ec695e773e54d4aa0e0b14497f10ab5 /nptl/pthread_getattr_default_np.c
parent8c64cc78bcce284b985d26a1393bdfcedcb1d128 (diff)
downloadglibc-dd05e154accfd3b9cd5984fa8419ffbd4edd90da.tar.gz
glibc-dd05e154accfd3b9cd5984fa8419ffbd4edd90da.tar.xz
glibc-dd05e154accfd3b9cd5984fa8419ffbd4edd90da.zip
nptl: Add internal alias __pthread_getattr_default_np
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/pthread_getattr_default_np.c')
-rw-r--r--nptl/pthread_getattr_default_np.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/pthread_getattr_default_np.c b/nptl/pthread_getattr_default_np.c
index a9665c5df7..5c99f980e2 100644
--- a/nptl/pthread_getattr_default_np.c
+++ b/nptl/pthread_getattr_default_np.c
@@ -19,7 +19,7 @@
 #include <pthreadP.h>
 
 int
-pthread_getattr_default_np (pthread_attr_t *out)
+__pthread_getattr_default_np (pthread_attr_t *out)
 {
   lll_lock (__default_pthread_attr_lock, LLL_PRIVATE);
   int ret = __pthread_attr_copy (out,
@@ -27,3 +27,5 @@ pthread_getattr_default_np (pthread_attr_t *out)
   lll_unlock (__default_pthread_attr_lock, LLL_PRIVATE);
   return ret;
 }
+libpthread_hidden_def (__pthread_getattr_default_np)
+weak_alias (__pthread_getattr_default_np, pthread_getattr_default_np)