about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-04-07 01:12:31 -0400
committerRich Felker <dalias@aerifal.cx>2014-04-07 01:12:31 -0400
commit7e8b0761e57266f40b8d51105b84c50e504e89c5 (patch)
tree4dc48c9283cc15ced0bec8783eb1d18a7e9dd6ef
parent561e0a0968f13b6d6c2b092501e210728e236fd7 (diff)
downloadmusl-7e8b0761e57266f40b8d51105b84c50e504e89c5.tar.gz
musl-7e8b0761e57266f40b8d51105b84c50e504e89c5.tar.xz
musl-7e8b0761e57266f40b8d51105b84c50e504e89c5.zip
remove some cruft from libc/tls init code
-rw-r--r--src/env/__init_tls.c2
-rw-r--r--src/env/__libc_start_main.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/env/__init_tls.c b/src/env/__init_tls.c
index c80f0528..89d081ef 100644
--- a/src/env/__init_tls.c
+++ b/src/env/__init_tls.c
@@ -64,8 +64,6 @@ void *__tls_get_addr(size_t *v)
 	return (char *)__pthread_self()->dtv[1]+v[1];
 }
 
-void *__mmap(void *, size_t, int, int, int, off_t);
-
 #if ULONG_MAX == 0xffffffff
 typedef Elf32_Phdr Phdr;
 #else
diff --git a/src/env/__libc_start_main.c b/src/env/__libc_start_main.c
index 73d49327..ac374922 100644
--- a/src/env/__libc_start_main.c
+++ b/src/env/__libc_start_main.c
@@ -3,7 +3,6 @@
 
 void __init_tls(size_t *);
 void __init_security(size_t *);
-void __init_ldso_ctors(void);
 
 #ifndef SHARED
 static void dummy() {}