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.
This commit is contained in:
practicalswift 2018-02-27 22:30:40 +01:00
parent 228b086b9a
commit 7ef46d063a
3 changed files with 0 additions and 3 deletions

View File

@ -4,7 +4,6 @@
#include <base58.h> #include <base58.h>
#include <keystore.h> #include <keystore.h>
#include <pubkey.h>
#include <rpc/protocol.h> #include <rpc/protocol.h>
#include <rpc/util.h> #include <rpc/util.h>
#include <tinyformat.h> #include <tinyformat.h>

View File

@ -8,7 +8,6 @@
#include <pubkey.h> #include <pubkey.h>
#include <script/standard.h> #include <script/standard.h>
#include <univalue.h> #include <univalue.h>
#include <utilstrencodings.h>
#include <boost/variant/static_visitor.hpp> #include <boost/variant/static_visitor.hpp>

View File

@ -4,7 +4,6 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <util.h> #include <util.h>
#include <fs.h>
#include <chainparamsbase.h> #include <chainparamsbase.h>
#include <random.h> #include <random.h>