diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-23 23:20:07 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-05-23 23:20:07 -0400 |
commit | 480d44bd0bb8832f93add7a48e43117c02e2d92f (patch) | |
tree | 4fb8336b01814892551c854cb76d0ad583370f84 /src | |
parent | 429039d45d1af9cfda9e706d4ac8f1a144ed66d4 (diff) |
rpcdump: include cleanup. move JSONRPCError def to bitcoinrpc.h.
Diffstat (limited to 'src')
-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: |