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/stage1.c b/coregrind/stage1.c
index 247912c..4864855 100644
--- a/coregrind/stage1.c
+++ b/coregrind/stage1.c
@@ -204,6 +204,7 @@
 }
 
 // Choose a name for the padfile, open it.
+static 
 int as_openpadfile(void)
 {
    char buf[256];
@@ -223,6 +224,7 @@
 }
 
 // Pad all the empty spaces in a range of address space to stop interlopers.
+static
 void as_pad(void *start, void *end, int padfile)
 {
    fillgap_extra extra;