aboutsummaryrefslogtreecommitdiffstats
path: root/solc/jsonCompiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-09 19:44:53 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-09 19:44:53 +0800
commit3e2f0b589d384ff264bbbb05bb5cbe003a63f936 (patch)
tree4490b5102e3f4ef0b276344954e133461c70ebdc /solc/jsonCompiler.cpp
parentd015b5818ebdf9bf86aec4f3a99aae04e5f50e7c (diff)
downloaddexon-solidity-3e2f0b589d384ff264bbbb05bb5cbe003a63f936.tar
dexon-solidity-3e2f0b589d384ff264bbbb05bb5cbe003a63f936.tar.gz
dexon-solidity-3e2f0b589d384ff264bbbb05bb5cbe003a63f936.tar.bz2
dexon-solidity-3e2f0b589d384ff264bbbb05bb5cbe003a63f936.tar.lz
dexon-solidity-3e2f0b589d384ff264bbbb05bb5cbe003a63f936.tar.xz
dexon-solidity-3e2f0b589d384ff264bbbb05bb5cbe003a63f936.tar.zst
dexon-solidity-3e2f0b589d384ff264bbbb05bb5cbe003a63f936.zip
Remove some global symbols
Diffstat (limited to 'solc/jsonCompiler.cpp')
-rw-r--r--solc/jsonCompiler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/solc/jsonCompiler.cpp b/solc/jsonCompiler.cpp
index de797b3c..ab928ac0 100644
--- a/solc/jsonCompiler.cpp
+++ b/solc/jsonCompiler.cpp
@@ -38,6 +38,9 @@ extern "C" {
typedef void (*CStyleReadFileCallback)(char const* _path, char** o_contents, char** o_error);
}
+namespace
+{
+
ReadFile::Callback wrapReadCallback(CStyleReadFileCallback _readCallback = nullptr)
{
ReadFile::Callback readCallback;
@@ -260,6 +263,8 @@ string compileStandardInternal(string const& _input, CStyleReadFileCallback _rea
return compiler.compile(_input);
}
+}
+
static string s_outputBuffer;
extern "C"