Skip to content

Commit 7ef46d0

Browse files
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.
1 parent 228b086 commit 7ef46d0

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/rpc/util.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
#include <base58.h>
66
#include <keystore.h>
7-
#include <pubkey.h>
87
#include <rpc/protocol.h>
98
#include <rpc/util.h>
109
#include <tinyformat.h>

src/rpc/util.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <pubkey.h>
99
#include <script/standard.h>
1010
#include <univalue.h>
11-
#include <utilstrencodings.h>
1211

1312
#include <boost/variant/static_visitor.hpp>
1413

src/util.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
55

66
#include <util.h>
7-
#include <fs.h>
87

98
#include <chainparamsbase.h>
109
#include <random.h>

0 commit comments

Comments
 (0)