Browse Source

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>
Peter S. Mazinger 14 years ago
parent
commit
810075152a
1 changed files with 1 additions and 5 deletions
  1. 1 5
      libc/misc/elf/dl-iterate-phdr.c

+ 1 - 5
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