projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d806b4
)
datarace: make globals static
author
Brian Norris
<banorris@uci.edu>
Tue, 16 Apr 2013 01:33:28 +0000
(18:33 -0700)
committer
Brian Norris
<banorris@uci.edu>
Tue, 16 Apr 2013 01:47:14 +0000
(18:47 -0700)
They're only global within this file.
datarace.cc
patch
|
blob
|
history
diff --git
a/datarace.cc
b/datarace.cc
index 9f75642e27a5a670d30e0c9284e6162cfa8047de..5f007f36522754960db4c4588c80ee75c2a49ad5 100644
(file)
--- a/
datarace.cc
+++ b/
datarace.cc
@@
-8,10
+8,10
@@
#include "config.h"
#include "action.h"
-struct ShadowTable *root;
+st
atic st
ruct ShadowTable *root;
SnapVector<struct DataRace *> unrealizedraces;
-void *memory_base;
-void *memory_top;
+
static
void *memory_base;
+
static
void *memory_top;
/** This function initialized the data race detector. */