]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Local-ise some variables that don't need to be visible outside this file.
authorJulian Seward <jseward@acm.org>
Thu, 7 Oct 2010 10:01:40 +0000 (10:01 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 7 Oct 2010 10:01:40 +0000 (10:01 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11409

coregrind/m_aspacemgr/aspacemgr-linux.c

index b911345e85fe276d6b6a2aca3544e71cfb2fcb76..d69f38e49ffe789c3f19afa3d50016af6e0a8834 100644 (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,