aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2017-04-07 02:30:51 +0200
committerJorge Timón <jtimon@jtimon.cc>2017-04-13 02:27:27 +0200
commita1fd4503284de6f7d67e40b6d681179303647798 (patch)
treedec93143cc8e8e3fd66e902caee883a97cef5de2 /src
parent67023e9004ba843218bee16bc821e955faf0d394 (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.h2
-rw-r--r--src/validation.cpp1
-rw-r--r--src/validation.h1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index 0fb0ad5039..15431712a3 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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