mark static

master
Daniel Kolesa 2015-10-01 19:08:44 +01:00
parent faabe418b2
commit 9199b76648
1 changed files with 3 additions and 3 deletions

View File

@ -32,10 +32,10 @@ struct Rule {
~Rule() { cscript::bcode_unref(func); } ~Rule() { cscript::bcode_unref(func); }
}; };
Vector<Rule> rules; static Vector<Rule> rules;
struct RuleCounter; struct RuleCounter;
Vector<RuleCounter *> counters; static Vector<RuleCounter *> counters;
struct RuleCounter { struct RuleCounter {
RuleCounter(): cond(), mtx(), counter(0), result(0) { RuleCounter(): cond(), mtx(), counter(0), result(0) {
@ -81,7 +81,7 @@ struct RuleCounter {
ostd::AtomicInt result; ostd::AtomicInt result;
}; };
ThreadPool tpool; static ThreadPool tpool;
/* check funcs */ /* check funcs */