aboutsummaryrefslogtreecommitdiffstats
path: root/test/fuzzer.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-29 07:34:39 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-29 20:43:55 +0800
commitc86181787575d8cb18eebc824bf323b63b0b5484 (patch)
treeba718a397fc797c41556f9ff08effab45d03f773 /test/fuzzer.cpp
parent2d39a42d37cd03e62d0295e8137f2c411b9b1b9f (diff)
downloaddexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar.gz
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar.bz2
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar.lz
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar.xz
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.tar.zst
dexon-solidity-c86181787575d8cb18eebc824bf323b63b0b5484.zip
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
{