diff options
-rw-r--r-- | libc/misc/elf/dl-iterate-phdr.c | 6 |
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 |