summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/elf_utils.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 03:58:27 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 03:58:27 +0000
commit49c1e7af60e615f705f90c25386a70bf0e8df3bc (patch)
treeb6f5bdec7c930b09b58d9ed6e82979fb3cc69a72 /lib/libc/gen/elf_utils.c
parent4c66a735a8a5535605a39718c7baa5b3ef42015c (diff)
downloadFreeBSD-src-49c1e7af60e615f705f90c25386a70bf0e8df3bc.zip
FreeBSD-src-49c1e7af60e615f705f90c25386a70bf0e8df3bc.tar.gz
Add declarations to eliminate -Wmissing-prototypes warnings
Diffstat (limited to 'lib/libc/gen/elf_utils.c')
-rw-r--r--lib/libc/gen/elf_utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/gen/elf_utils.c b/lib/libc/gen/elf_utils.c
index 7bd7511..264d953 100644
--- a/lib/libc/gen/elf_utils.c
+++ b/lib/libc/gen/elf_utils.c
@@ -33,6 +33,9 @@
#include <link.h>
#include <stddef.h>
+int __elf_phdr_match_addr(struct dl_phdr_info *phdr_info, void *addr);
+void __pthread_map_stacks_exec(void);
+
int
__elf_phdr_match_addr(struct dl_phdr_info *phdr_info, void *addr)
{
OpenPOWER on IntegriCloud