about summary refs log tree commit diff
path: root/src/thread/pthread_create.c
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/thread/pthread_create.c
parentf9db9eca40fdc78fae258b8e12eb689fc2d5e0e5 (diff)
downloadmusl-91c6a187b89cb1ea9afc6a963106fbccca218dde.tar.gz
musl-91c6a187b89cb1ea9afc6a963106fbccca218dde.tar.xz
musl-91c6a187b89cb1ea9afc6a963106fbccca218dde.zip
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/thread/pthread_create.c')
-rw-r--r--src/thread/pthread_create.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c
index 27ace2c6..dc869dc1 100644
--- a/src/thread/pthread_create.c
+++ b/src/thread/pthread_create.c
@@ -178,8 +178,6 @@ static void init_file_lock(FILE *f)
 	if (f && f->lock<0) f->lock = 0;
 }
 
-void *__copy_tls(unsigned char *);
-
 int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(void *), void *restrict arg)
 {
 	int ret, c11 = (attrp == __ATTRP_C11_THREAD);