aboutsummaryrefslogtreecommitdiffstats
path: root/solc
diff options
context:
space:
mode:
Diffstat (limited to 'solc')
-rw-r--r--solc/jsonCompiler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/solc/jsonCompiler.cpp b/solc/jsonCompiler.cpp
index b117325d..1690fadb 100644
--- a/solc/jsonCompiler.cpp
+++ b/solc/jsonCompiler.cpp
@@ -218,7 +218,7 @@ string compileSingle(string const& _input, bool _optimize)
return compile(sources, _optimize);
}
-static string outputBuffer;
+static string s_outputBuffer;
extern "C"
{
@@ -228,12 +228,12 @@ extern char const* version()
}
extern char const* compileJSON(char const* _input, bool _optimize)
{
- outputBuffer = compileSingle(_input, _optimize);
- return outputBuffer.c_str();
+ s_outputBuffer = compileSingle(_input, _optimize);
+ return s_outputBuffer.c_str();
}
extern char const* compileJSONMulti(char const* _input, bool _optimize)
{
- outputBuffer = compileMulti(_input, _optimize);
- return outputBuffer.c_str();
+ s_outputBuffer = compileMulti(_input, _optimize);
+ return s_outputBuffer.c_str();
}
}