rtld: fix warnings about redundant declarations

Fix warnings about redundant declarations in rtld
when libthr in increased to WARNS=6.

Reviewed by:	kib
MFC after:	3 days
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D10934
This commit is contained in:
Eric van Gyzen 2017-05-26 15:55:03 +00:00
parent 01618b339f
commit 7fb37371e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318954
5 changed files with 0 additions and 25 deletions

View File

@ -67,11 +67,6 @@ typedef struct {
round(prev_offset + prev_size, align)
#define calculate_tls_end(off, size) ((off) + (size))
/*
* Lazy binding entry point, called via PLT.
*/
void _rtld_bind_start(void);
extern void *__tls_get_addr(tls_index *ti);
#define RTLD_DEFAULT_STACK_PF_EXEC PF_X

View File

@ -67,11 +67,6 @@ typedef struct {
round(prev_offset + prev_size, align)
#define calculate_tls_end(off, size) ((off) + (size))
/*
* Lazy binding entry point, called via PLT.
*/
void _rtld_bind_start(void);
extern void *__tls_get_addr(tls_index *ti);
#define RTLD_DEFAULT_STACK_PF_EXEC PF_X

View File

@ -53,11 +53,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
#define call_ifunc_resolver(ptr) \
(((Elf_Addr (*)(void))ptr)())
/*
* Lazy binding entry point, called via PLT.
*/
void _rtld_bind_start(void);
/*
* PLT functions. Not really correct prototypes, but the
* symbol values are needed.

View File

@ -53,11 +53,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
#define call_ifunc_resolver(ptr) \
(((Elf_Addr (*)(void))ptr)())
/*
* Lazy binding entry point, called via PLT.
*/
void _rtld_bind_start(void);
/*
* TLS
*/

View File

@ -79,11 +79,6 @@ Elf_Addr reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
#define call_ifunc_resolver(ptr) \
(((Elf_Addr (*)(void))ptr)())
/*
* Lazy binding entry point, called via PLT.
*/
void _rtld_bind_start(void);
/*
* TLS
*/