From a1fd4503284de6f7d67e40b6d681179303647798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Tim=C3=B3n?= Date: Fri, 7 Apr 2017 02:30:51 +0200 Subject: [PATCH] Trivial: Remove unneeded includes from .h: - validation.h doesn't need to include chain.h anymore - Remove unneeded includes from net.h --- src/net.h | 2 -- src/validation.cpp | 1 + src/validation.h | 1 - 3 files changed, 1 insertion(+), 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 #include -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