summaryrefslogtreecommitdiff
path: root/pthread/pt-getattr.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-12-29 15:01:46 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-12-29 15:01:46 +0100
commit218db6679aea0dcf05fb60566cef6e18f706d9ba (patch)
tree3099f55335743748ff18bd435e4de25b22c8f54a /pthread/pt-getattr.c
parent0a69b89843ec466fa20c994a29d13de6a45c3acb (diff)
parent7d4a84731cd80a1ef711c83535c6340f0e2b143f (diff)
Merge branch 'master' into 2.262.26
Diffstat (limited to 'pthread/pt-getattr.c')
-rw-r--r--pthread/pt-getattr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pthread/pt-getattr.c b/pthread/pt-getattr.c
index 574420a..0b86c66 100644
--- a/pthread/pt-getattr.c
+++ b/pthread/pt-getattr.c
@@ -27,7 +27,7 @@
already running thread THREAD. It shall be called on an uninitialized ATTR
and destroyed with pthread_attr_destroy when no longer needed. */
int
-pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
+__pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
{
struct __pthread *pthread;
@@ -49,3 +49,4 @@ pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
return 0;
}
+weak_alias (__pthread_getattr_np, pthread_getattr_np)