From e0d459264fa9330eea99d33208fbddb8c8362be4 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Tue, 18 Jul 2017 15:11:18 +0200 Subject: Avoid redundant redeclaration of GetWarnings(const string&) std::string GetWarnings(const std::string& strFor) is declared in warnings.h and defined in warnings.cpp. --- src/rpc/mining.cpp | 1 + src/rpc/misc.cpp | 1 + src/rpc/net.cpp | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/rpc') diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 4fd632dfc5..daca32d251 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 #include diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index fcbbe1ceed..3c4f071fcf 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 #ifdef HAVE_MALLOC_INFO diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index ed452fcb02..090d9e448e 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 -- cgit v1.2.3