mymemory: make DontFree() static
authorBrian Norris <banorris@uci.edu>
Mon, 8 Oct 2012 19:34:22 +0000 (12:34 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 8 Oct 2012 19:34:22 +0000 (12:34 -0700)
mymemory.cc

index d281330..759bdcc 100644 (file)
@@ -154,7 +154,7 @@ void * HandleEarlyAllocationRequest(size_t sz)
 }
 
 /** Check whether this is bootstrapped memory that we should not free */
-bool DontFree(void *ptr)
+static bool DontFree(void *ptr)
 {
        return (ptr >= (&bootstrapmemory[0]) && ptr < (&bootstrapmemory[BOOTSTRAPBYTES]));
 }