summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/__tls_get_addr.c2
-rw-r--r--src/thread/pthread_create.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/thread/__tls_get_addr.c b/src/thread/__tls_get_addr.c
index 3bc60571..013817b4 100644
--- a/src/thread/__tls_get_addr.c
+++ b/src/thread/__tls_get_addr.c
@@ -2,8 +2,6 @@
#include "pthread_impl.h"
#include "libc.h"
-hidden void *__tls_get_new(tls_mod_off_t *);
-
void *__tls_get_addr(tls_mod_off_t *v)
{
pthread_t self = __pthread_self();
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);