summaryrefslogtreecommitdiffstats
path: root/libc/misc/elf/dl-support.c
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:20 +0930
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:35:16 -0700
commitf241d2e5e336d440db106e972138664baeadfd70 (patch)
treedb93c00cad051fb03305270804f39a9fd4ec7b9d /libc/misc/elf/dl-support.c
parent2291c660e546e1fa766ef0c0696bd7b074c3b9f3 (diff)
downloaduClibc-alpine-f241d2e5e336d440db106e972138664baeadfd70.tar.bz2
uClibc-alpine-f241d2e5e336d440db106e972138664baeadfd70.tar.xz
Provide token prototypes for functions that are external but have no header
This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/misc/elf/dl-support.c')
-rw-r--r--libc/misc/elf/dl-support.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/misc/elf/dl-support.c b/libc/misc/elf/dl-support.c
index 64f2f7e44..833d5355e 100644
--- a/libc/misc/elf/dl-support.c
+++ b/libc/misc/elf/dl-support.c
@@ -29,9 +29,8 @@ void (*_dl_init_static_tls) (struct link_map *) = &_dl_nothread_init_static_tls;
ElfW(Phdr) *_dl_phdr;
size_t _dl_phnum;
-void
-internal_function
-_dl_aux_init (ElfW(auxv_t) *av)
+void internal_function _dl_aux_init (ElfW(auxv_t) *av);
+void internal_function _dl_aux_init (ElfW(auxv_t) *av)
{
/* Get the program headers base address from the aux vect */
_dl_phdr = (ElfW(Phdr) *) av[AT_PHDR].a_un.a_val;