Local-ise some variables that don't need to be visible outside this file.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11409
This commit is contained in:
Julian Seward 2010-10-07 10:01:40 +00:00
parent 5ecb22a89e
commit 7028b51512

View File

@ -3413,10 +3413,11 @@ static void parse_procselfmaps (
(*record_gap)(last, (Addr)-1 - last);
}
Bool css_overflowed;
ChangedSeg* css_local;
Int css_size_local;
Int css_used_local;
// Urr. So much for thread safety.
static Bool css_overflowed;
static ChangedSeg* css_local;
static Int css_size_local;
static Int css_used_local;
static void add_mapping_callback(Addr addr, SizeT len, UInt prot,
ULong dev, ULong ino, Off64T offset,