aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-05-23 23:20:07 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-05-23 23:20:07 -0400
commit480d44bd0bb8832f93add7a48e43117c02e2d92f (patch)
tree4fb8336b01814892551c854cb76d0ad583370f84 /src
parent429039d45d1af9cfda9e706d4ac8f1a144ed66d4 (diff)
downloadbitcoin-480d44bd0bb8832f93add7a48e43117c02e2d92f.tar.xz
rpcdump: include cleanup. move JSONRPCError def to bitcoinrpc.h.
Diffstat (limited to 'src')
-rw-r--r--src/bitcoinrpc.h2
-rw-r--r--src/rpcdump.cpp6
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: