summaryrefslogtreecommitdiff
path: root/include/link.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-09-07 09:04:01 +0000
committerEric Andersen <andersen@codepoet.org>2004-09-07 09:04:01 +0000
commit195bd6441bc6464bc00fa145ebbfadeaf6294914 (patch)
tree29937e55a3c64c844c7b124a762aad11f024bab0 /include/link.h
parentcf84d3fc7bb6477cec931e5753b3d1b2f1ded6c6 (diff)
We do not use dl_iterate_phdr, so no need to define it
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/link.h b/include/link.h
index f8e7f629d..c3ef6a6b0 100644
--- a/include/link.h
+++ b/include/link.h
@@ -92,24 +92,4 @@ struct link_map
struct link_map *l_next, *l_prev; /* Chain of loaded objects. */
};
-#ifdef __USE_GNU
-
-struct dl_phdr_info
- {
- ElfW(Addr) dlpi_addr;
- const char *dlpi_name;
- const ElfW(Phdr) *dlpi_phdr;
- ElfW(Half) dlpi_phnum;
- };
-
-__BEGIN_DECLS
-
-extern int dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
- size_t size, void *data),
- void *data) __THROW;
-
-__END_DECLS
-
-#endif
-
#endif /* link.h */