]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Namespace police woz here
authorJulian Seward <jseward@acm.org>
Thu, 13 Jun 2002 11:11:05 +0000 (11:11 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 13 Jun 2002 11:11:05 +0000 (11:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@408

cachegrind/cg_sim_gen.c
vg_cachesim_gen.c

index b625fdcdab0944c9640fdb04da3bb0ee170027d9..f938bc4b0fd3497519db75942134bed48174127c 100644 (file)
@@ -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)                        \
 {                                                                           \
index b625fdcdab0944c9640fdb04da3bb0ee170027d9..f938bc4b0fd3497519db75942134bed48174127c 100644 (file)
@@ -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)                        \
 {                                                                           \