aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-02-27 22:30:40 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2018-02-27 22:30:40 +0100
commit7ef46d063aaeb3411047ef249adcfeab63a2d6e9 (patch)
tree7cd3d7e7154533706c1d2bac66c6e1860af58767 /src
parent228b086b9a3de02b534474027353a80dead2c292 (diff)
Remove redundant includes. Conform to header include guidelines.
From the header include guidelines (developer-notes.md): "One exception is that a `.cpp` file does not need to re-include the includes already included in its corresponding `.h` file." * rpc/util.h includes pubkey.h + utilstrencodings.h. rpc/util.cpp includes rpc/util.h. * util.h includes fs.h. util.cpp includes util.h.
Diffstat (limited to 'src')
-rw-r--r--src/rpc/util.cpp1
-rw-r--r--src/rpc/util.h1
-rw-r--r--src/util.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp
index cdcb68d15f..081723f5e6 100644
--- a/src/rpc/util.cpp
+++ b/src/rpc/util.cpp
@@ -4,7 +4,6 @@
#include <base58.h>
#include <keystore.h>
-#include <pubkey.h>
#include <rpc/protocol.h>
#include <rpc/util.h>
#include <tinyformat.h>
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 5380d45a83..c6a79d5cf9 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -8,7 +8,6 @@
#include <pubkey.h>
#include <script/standard.h>
#include <univalue.h>
-#include <utilstrencodings.h>
#include <boost/variant/static_visitor.hpp>
diff --git a/src/util.cpp b/src/util.cpp
index dcf7ed38b1..5a7a684e70 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -4,7 +4,6 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <util.h>
-#include <fs.h>
#include <chainparamsbase.h>
#include <random.h>