aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2017-07-18 15:11:18 +0200
committerpracticalswift <[email protected]>2017-07-18 15:54:38 +0200
commite0d459264fa9330eea99d33208fbddb8c8362be4 (patch)
tree5a8bc23b4ef11691f0421485466d670650bbeb8b /src/rpc
parentMerge #10795: No longer ever reuse keypool indexes (diff)
downloaddiscoin-e0d459264fa9330eea99d33208fbddb8c8362be4.tar.xz
discoin-e0d459264fa9330eea99d33208fbddb8c8362be4.zip
Avoid redundant redeclaration of GetWarnings(const string&)
std::string GetWarnings(const std::string& strFor) is declared in warnings.h and defined in warnings.cpp.
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/mining.cpp1
-rw-r--r--src/rpc/misc.cpp1
-rw-r--r--src/rpc/net.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
index 4fd632dfc..daca32d25 100644
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -24,6 +24,7 @@
#include "util.h"
#include "utilstrencodings.h"
#include "validationinterface.h"
+#include "warnings.h"
#include <memory>
#include <stdint.h>
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp
index fcbbe1cee..3c4f071fc 100644
--- a/src/rpc/misc.cpp
+++ b/src/rpc/misc.cpp
@@ -21,6 +21,7 @@
#include "wallet/wallet.h"
#include "wallet/walletdb.h"
#endif
+#include "warnings.h"
#include <stdint.h>
#ifdef HAVE_MALLOC_INFO
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index ed452fcb0..090d9e448 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -18,7 +18,7 @@
#include "util.h"
#include "utilstrencodings.h"
#include "version.h"
-
+#include "warnings.h"
#include <univalue.h>