From 7028b51512d69efdd274537f2acaa4d0ebfaf1f6 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Thu, 7 Oct 2010 10:01:40 +0000 Subject: [PATCH] Local-ise some variables that don't need to be visible outside this file. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11409 --- coregrind/m_aspacemgr/aspacemgr-linux.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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, -- 2.47.2