@@ -97,6 +97,7 @@ __pthread_create (pthread_t * thread, const pthread_attr_t * attr,
return err;
}
weak_alias (__pthread_create, pthread_create)
+hidden_def (__pthread_create)
/* Internal version of pthread_create. See comment in
pt-internal.h. */
@@ -78,3 +78,4 @@ __pthread_detach (pthread_t thread)
return err;
}
weak_alias (__pthread_detach, pthread_detach)
+hidden_def (__pthread_detach)
@@ -97,6 +97,8 @@ int __pthread_attr_getstack (const pthread_attr_t *, void **, size_t *);
void __pthread_testcancel (void);
#if IS_IN (libpthread)
+hidden_proto (__pthread_create)
+hidden_proto (__pthread_detach)
hidden_proto (__pthread_key_create)
hidden_proto (__pthread_getspecific)
hidden_proto (__pthread_setspecific)