about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 20:18:52 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 20:18:52 +0000
commit938c669eb4b2f520e5abf011d32c90eb66d2a714 (patch)
tree6f657948c2495e7dff91f2f53976c406448d76d8 /elf
parent96749bc273d1837f1121bf77124bf90f0b5f5b5b (diff)
downloadglibc-938c669eb4b2f520e5abf011d32c90eb66d2a714.tar.gz
glibc-938c669eb4b2f520e5abf011d32c90eb66d2a714.tar.xz
glibc-938c669eb4b2f520e5abf011d32c90eb66d2a714.zip
* stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
function. 
* elf/dl-load.c (_dl_map_object_from_fd): Likewise. 
* locale/programs/locale.c (show_locale_vars): Likewise. 
(show_info): Likewise. 
* locale/programs/ld-collate.c (collate_output): Likewise. 
* locale/programs/ld-ctype.c (set_class_defaults): Likewise. 
* elf/dl-deps.c (_dl_map_object_deps): Likewise. 
* stdlib/rpmatch.c (rpmatch): Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-deps.c2
-rw-r--r--elf/dl-load.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c
index c9997310ba..df1db89796 100644
--- a/elf/dl-deps.c
+++ b/elf/dl-deps.c
@@ -142,6 +142,8 @@ _dl_map_object_deps (struct link_map *map,
   struct list *runp, *utail, *dtail;
   unsigned int nlist, nduplist, i;
 
+  auto inline void preload (struct link_map *map);
+
   inline void preload (struct link_map *map)
     {
       known[nlist].done = 0;
diff --git a/elf/dl-load.c b/elf/dl-load.c
index f42cb61ea3..24ac6f018a 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -750,6 +750,9 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
 {
   struct link_map *l = NULL;
 
+  auto inline caddr_t map_segment (ElfW(Addr) mapstart, size_t len,
+				   int prot, int fixed, off_t offset);
+
   inline caddr_t map_segment (ElfW(Addr) mapstart, size_t len,
 			      int prot, int fixed, off_t offset)
     {