summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-21 01:54:28 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-08-20 22:12:27 +0200
commitd38e26fad6a770477fdf61175428a34a5e867b55 (patch)
tree2083cdf88f48d7ca9f461959652909ebdf93e38f /sysdeps
parent3ddb7bfae16a8f6e3117b49d731c1e592da35926 (diff)
Fix weak reference for static linking
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/bits/libc-lockP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/pthread/bits/libc-lockP.h b/sysdeps/pthread/bits/libc-lockP.h
index 65878f2..3cfbc18 100644
--- a/sysdeps/pthread/bits/libc-lockP.h
+++ b/sysdeps/pthread/bits/libc-lockP.h
@@ -129,7 +129,7 @@ weak_extern (__pthread_getspecific)
weak_extern (__pthread_once)
weak_extern (__pthread_initialize)
weak_extern (__pthread_atfork)
-weak_extern (pthread_setcancelstate)
+weak_extern (__pthread_setcancelstate)
# else
# pragma weak __pthread_mutex_init
# pragma weak __pthread_mutex_destroy
@@ -151,7 +151,7 @@ weak_extern (pthread_setcancelstate)
# pragma weak __pthread_once
# pragma weak __pthread_initialize
# pragma weak __pthread_atfork
-# pragma weak pthread_setcancelstate
+# pragma weak __pthread_setcancelstate
# endif
#endif