diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2017-04-07 02:30:51 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2017-04-13 02:27:27 +0200 |
commit | a1fd4503284de6f7d67e40b6d681179303647798 (patch) | |
tree | dec93143cc8e8e3fd66e902caee883a97cef5de2 /src | |
parent | 67023e9004ba843218bee16bc821e955faf0d394 (diff) |
Trivial: Remove unneeded includes from .h:
- validation.h doesn't need to include chain.h anymore
- Remove unneeded includes from net.h
Diffstat (limited to 'src')
-rw-r--r-- | src/net.h | 2 | ||||
-rw-r--r-- | src/validation.cpp | 1 | ||||
-rw-r--r-- | src/validation.h | 1 |
3 files changed, 1 insertions, 3 deletions
@@ -11,7 +11,6 @@ #include "amount.h" #include "bloom.h" #include "compat.h" -#include "fs.h" #include "hash.h" #include "limitedmap.h" #include "netaddress.h" @@ -36,7 +35,6 @@ #include <boost/foreach.hpp> #include <boost/signals2/signal.hpp> -class CAddrMan; class CScheduler; class CNode; diff --git a/src/validation.cpp b/src/validation.cpp index 99ce53986f..9f7d615b62 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -6,6 +6,7 @@ #include "validation.h" #include "arith_uint256.h" +#include "chain.h" #include "chainparams.h" #include "checkpoints.h" #include "checkqueue.h" diff --git a/src/validation.h b/src/validation.h index 4aa10cbb0b..21decaab49 100644 --- a/src/validation.h +++ b/src/validation.h @@ -11,7 +11,6 @@ #endif #include "amount.h" -#include "chain.h" #include "coins.h" #include "fs.h" #include "protocol.h" // For CMessageHeader::MessageStartChars |