aboutsummaryrefslogtreecommitdiffstats
path: root/test/fuzzer.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-29 21:07:08 +0800
committerGitHub <noreply@github.com>2017-08-29 21:07:08 +0800
commite77e5941202df8363344b6c21a4ba813423ed889 (patch)
treeba718a397fc797c41556f9ff08effab45d03f773 /test/fuzzer.cpp
parent2d39a42d37cd03e62d0295e8137f2c411b9b1b9f (diff)
parentc86181787575d8cb18eebc824bf323b63b0b5484 (diff)
downloaddexon-solidity-e77e5941202df8363344b6c21a4ba813423ed889.tar
dexon-solidity-e77e5941202df8363344b6c21a4ba813423ed889.tar.gz
dexon-solidity-e77e5941202df8363344b6c21a4ba813423ed889.tar.bz2
dexon-solidity-e77e5941202df8363344b6c21a4ba813423ed889.tar.lz
dexon-solidity-e77e5941202df8363344b6c21a4ba813423ed889.tar.xz
dexon-solidity-e77e5941202df8363344b6c21a4ba813423ed889.tar.zst
dexon-solidity-e77e5941202df8363344b6c21a4ba813423ed889.zip
Merge pull request #2844 from ethereum/jsoncompiler
Add header for jsonCompiler
Diffstat (limited to 'test/fuzzer.cpp')
-rw-r--r--test/fuzzer.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/fuzzer.cpp b/test/fuzzer.cpp
index c3a321f7..2c39dde2 100644
--- a/test/fuzzer.cpp
+++ b/test/fuzzer.cpp
@@ -20,6 +20,7 @@
#include <libevmasm/Assembly.h>
#include <libevmasm/ConstantOptimiser.h>
+#include <solc/jsonCompiler.h>
#include <json/json.h>
@@ -33,13 +34,6 @@ using namespace dev;
using namespace dev::eth;
namespace po = boost::program_options;
-extern "C"
-{
-extern char const* compileJSON(char const* _input, bool _optimize);
-typedef void (*CStyleReadFileCallback)(char const* _path, char** o_contents, char** o_error);
-extern char const* compileStandard(char const* _input, CStyleReadFileCallback _readCallback);
-}
-
namespace
{