summaryrefslogtreecommitdiff
path: root/src/internal/pthread_impl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-08 18:46:06 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:31 -0400
commit91c6a187b89cb1ea9afc6a963106fbccca218dde (patch)
treeac9bdd0d00994b9f5630ae107af8455208e352de /src/internal/pthread_impl.h
parentf9db9eca40fdc78fae258b8e12eb689fc2d5e0e5 (diff)
downloadmusl-91c6a187b89cb1ea9afc6a963106fbccca218dde.tar.gz
move declarations of tls setup/access functions to pthread_impl.h
it's already included in all places where these are needed, and aside from __tls_get_addr, they're all implementation internals.
Diffstat (limited to 'src/internal/pthread_impl.h')
-rw-r--r--src/internal/pthread_impl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h
index d4d1dc61..3479bcf6 100644
--- a/src/internal/pthread_impl.h
+++ b/src/internal/pthread_impl.h
@@ -135,6 +135,12 @@ struct __timer {
((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
0x80000000 })
+void *__tls_get_addr(tls_mod_off_t *);
+hidden void *__tls_get_new(tls_mod_off_t *);
+int __init_tp(void *);
+void *__copy_tls(unsigned char *);
+void __reset_tls();
+
int __clone(int (*)(void *), void *, int, void *, ...);
int __set_thread_area(void *);
int __libc_sigaction(int, const struct sigaction *, struct sigaction *);