Get rid of dead code and/or localise global functions as needed to
avoid warnings from -fwarn-missing-prototypes.  vg_replace_malloc.c
has not been done yet though.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3298 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/ume.c b/coregrind/ume.c
index f69ecdc..3e96c58 100644
--- a/coregrind/ume.c
+++ b/coregrind/ume.c
@@ -142,6 +142,7 @@
 /*--- Loading ELF files                                    ---*/
 /*------------------------------------------------------------*/
 
+static 
 struct elfinfo *readelf(int fd, const char *filename)
 {
    struct elfinfo *e = malloc(sizeof(*e));
@@ -197,6 +198,7 @@
 }
 
 /* Map an ELF file.  Returns the brk address. */
+static
 ESZ(Addr) mapelf(struct elfinfo *e, ESZ(Addr) base)
 {
    int i;