OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e74047
)
dl-iterate-phdr.c: no need for visible __dl_iterate_phdr, make it static
author
Peter S. Mazinger
<ps.m@gmx.net>
Thu, 7 Apr 2011 21:13:12 +0000
(23:13 +0200)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:36 +0000
(14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/misc/elf/dl-iterate-phdr.c
patch
|
blob
|
history
diff --git
a/libc/misc/elf/dl-iterate-phdr.c
b/libc/misc/elf/dl-iterate-phdr.c
index
f0233ca
..
5b86db0
100644
(file)
--- 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