summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/bits/libc-lockP.h4
-rw-r--r--sysdeps/pthread/pthread-functions.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/pthread/bits/libc-lockP.h b/sysdeps/pthread/bits/libc-lockP.h
index 6c5db09..2631e0c 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
diff --git a/sysdeps/pthread/pthread-functions.h b/sysdeps/pthread/pthread-functions.h
index 7fc4a53..d985dc3 100644
--- a/sysdeps/pthread/pthread-functions.h
+++ b/sysdeps/pthread/pthread-functions.h
@@ -133,7 +133,7 @@ struct pthread_functions
extern struct pthread_functions __libc_pthread_functions attribute_hidden;
extern int __libc_pthread_functions_init attribute_hidden;
-void __libc_pthread_init (const struct pthread_functions *functions);
+void __libc_pthread_init (const struct pthread_functions *functions) internal_function;
# define PTHFCT_CALL(fct, params) \
__libc_pthread_functions.fct params