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-03-21 01:54:28 +0100
commit13016409961bd0c37485f49b2d8ccd12850575ed (patch)
tree60cd7eb6f447c791023bc00523d6c951c4bf9f2f /sysdeps
parent3202db52ac6241f66ef01220bbcdfc86232196d9 (diff)
Fix weak reference for static linking
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/libc-lockP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/pthread/libc-lockP.h b/sysdeps/pthread/libc-lockP.h
index 65878f2..3cfbc18 100644
--- a/sysdeps/pthread/libc-lockP.h
+++ b/sysdeps/pthread/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