summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:20 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:17 -0400
commit00c8ece258acfa8867485172af9e74313d25bbdf (patch)
treee8e6ce9889202cfbd44e23ef7b7d1f5907b9d5b8 /libc/misc
parentb9b00cd60abd606fee136efbf6c376aace5f3f2a (diff)
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>
Diffstat (limited to 'libc/misc')
-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 3c1d8537d..4dd155edc 100644
--- a/libc/misc/elf/dl-support.c
+++ b/libc/misc/elf/dl-support.c
@@ -17,9 +17,8 @@
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;