From: Rich Felker Date: Mon, 7 Apr 2014 05:12:31 +0000 (-0400) Subject: remove some cruft from libc/tls init code X-Git-Tag: v1.1.0~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7e8b0761e57266f40b8d51105b84c50e504e89c5;p=oweals%2Fmusl.git remove some cruft from libc/tls init code --- 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() {}