summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-20 01:28:27 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-08-20 22:12:10 +0200
commit3ddb7bfae16a8f6e3117b49d731c1e592da35926 (patch)
treed75326a19dfbddad3689c86a31b150567f2c1d43
parent76ae117cd745eb783d2f680e136c19628fa1187e (diff)
Mark __libc_pthread_init as internal function, as in nptl
-rw-r--r--libc_pthread_init.c1
-rw-r--r--sysdeps/pthread/pthread-functions.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/libc_pthread_init.c b/libc_pthread_init.c
index bc808cb..f7997da 100644
--- a/libc_pthread_init.c
+++ b/libc_pthread_init.c
@@ -21,6 +21,7 @@
#include <pthread-functions.h>
void
+internal_function
__libc_pthread_init (functions)
const struct pthread_functions *functions;
{
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