|
From: <sv...@va...> - 2010-10-07 10:01:49
|
Author: sewardj
Date: 2010-10-07 11:01:40 +0100 (Thu, 07 Oct 2010)
New Revision: 11409
Log:
Local-ise some variables that don't need to be visible outside this file.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
===================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c 2010-10-07 10:00:56 UTC (rev 11408)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c 2010-10-07 10:01:40 UTC (rev 11409)
@@ -3413,10 +3413,11 @@
(*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,
|