From: Julian Seward Date: Thu, 13 Jun 2002 11:11:05 +0000 (+0000) Subject: Namespace police woz here X-Git-Tag: svn/VALGRIND_1_0_3~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37ad57a2b511fe98228078bb41a91c28335b14fc;p=thirdparty%2Fvalgrind.git Namespace police woz here git-svn-id: svn://svn.valgrind.org/valgrind/trunk@408 --- diff --git a/cachegrind/cg_sim_gen.c b/cachegrind/cg_sim_gen.c index b625fdcdab..f938bc4b0f 100644 --- a/cachegrind/cg_sim_gen.c +++ b/cachegrind/cg_sim_gen.c @@ -106,7 +106,7 @@ static void print_cache(cache_t2* c) #define CACHESIM(L, MISS_TREATMENT) \ /* The cache and associated bits and pieces. */ \ -cache_t2 L; \ +static cache_t2 L; \ \ static void cachesim_##L##_initcache(cache_t config) \ { \ diff --git a/vg_cachesim_gen.c b/vg_cachesim_gen.c index b625fdcdab..f938bc4b0f 100644 --- a/vg_cachesim_gen.c +++ b/vg_cachesim_gen.c @@ -106,7 +106,7 @@ static void print_cache(cache_t2* c) #define CACHESIM(L, MISS_TREATMENT) \ /* The cache and associated bits and pieces. */ \ -cache_t2 L; \ +static cache_t2 L; \ \ static void cachesim_##L##_initcache(cache_t config) \ { \