From: Julian Seward Date: Thu, 7 Oct 2010 10:01:40 +0000 (+0000) Subject: Local-ise some variables that don't need to be visible outside this file. X-Git-Tag: svn/VALGRIND_3_6_0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7028b51512d69efdd274537f2acaa4d0ebfaf1f6;p=thirdparty%2Fvalgrind.git Local-ise some variables that don't need to be visible outside this file. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11409 --- diff --git a/coregrind/m_aspacemgr/aspacemgr-linux.c b/coregrind/m_aspacemgr/aspacemgr-linux.c index b911345e85..d69f38e49f 100644 --- a/coregrind/m_aspacemgr/aspacemgr-linux.c +++ b/coregrind/m_aspacemgr/aspacemgr-linux.c @@ -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,