From: Brian Norris Date: Mon, 8 Oct 2012 19:34:22 +0000 (-0700) Subject: mymemory: make DontFree() static X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=commitdiff_plain;h=ea58bae0f4b142d118880a3eb71168604c513b07 mymemory: make DontFree() static --- diff --git a/mymemory.cc b/mymemory.cc index d281330b..759bdccd 100644 --- a/mymemory.cc +++ b/mymemory.cc @@ -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])); }