summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-07 23:13:12 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:36 +0200
commit810075152ad2b90510d87848800e7788eaec1a09 (patch)
tree4a35dd0cb33285406a0d79450c693d403eddbb22 /libc/misc
parent9e74047542cbe90bd63660638ceb30313327027f (diff)
dl-iterate-phdr.c: no need for visible __dl_iterate_phdr, make it static
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/elf/dl-iterate-phdr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/misc/elf/dl-iterate-phdr.c b/libc/misc/elf/dl-iterate-phdr.c
index f0233ca37..5b86db011 100644
--- a/libc/misc/elf/dl-iterate-phdr.c
+++ b/libc/misc/elf/dl-iterate-phdr.c
@@ -18,10 +18,7 @@
/* we want this in libc but nowhere else */
#ifdef __USE_GNU
-extern __typeof(dl_iterate_phdr) __dl_iterate_phdr;
-
-hidden_proto(__dl_iterate_phdr)
-int
+static int
__dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info, size_t size, void *data), void *data)
{
int ret = 0;
@@ -41,7 +38,6 @@ __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info, size_t size, void
#endif
return ret;
}
-hidden_def (__dl_iterate_phdr)
# ifdef SHARED