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 d281330b75d2341b1050c20cdd38377b5e1f75d2..759bdccd89231eff77305f392166162d8c714de4 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]));
 }