diff options
-rw-r--r-- | src/bitcoinrpc.h | 2 | ||||
-rw-r--r-- | src/rpcdump.cpp | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/bitcoinrpc.h b/src/bitcoinrpc.h index 8b2d905179..7a8273756d 100644 --- a/src/bitcoinrpc.h +++ b/src/bitcoinrpc.h @@ -13,6 +13,8 @@ #include "json/json_spirit_writer_template.h" #include "json/json_spirit_utils.h" +json_spirit::Object JSONRPCError(int code, const std::string& message); + void ThreadRPCServer(void* parg); int CommandLineRPC(int argc, char *argv[]); diff --git a/src/rpcdump.cpp b/src/rpcdump.cpp index 5fa24f638d..6fb0e35569 100644 --- a/src/rpcdump.cpp +++ b/src/rpcdump.cpp @@ -8,18 +8,12 @@ #include <boost/lexical_cast.hpp> -#include "json/json_spirit_reader_template.h" -#include "json/json_spirit_writer_template.h" -#include "json/json_spirit_utils.h" - #define printf OutputDebugStringF // using namespace boost::asio; using namespace json_spirit; using namespace std; -extern Object JSONRPCError(int code, const string& message); - class CTxDump { public: |