From 7e8b0761e57266f40b8d51105b84c50e504e89c5 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 7 Apr 2014 01:12:31 -0400 Subject: [PATCH] remove some cruft from libc/tls init code --- src/env/__init_tls.c | 2 -- src/env/__libc_start_main.c | 1 - 2 files changed, 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() {} -- 2.25.1