From fa3f5d0dae2381038439b91ef2af85ec277c8294 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 7 Sep 2021 10:48:45 +0200 Subject: [PATCH] Move addrman includes from .h to .cpp This is a follow-up to the code move in commit a820e79512b67b1bfda20bdc32b47086d2b0910d --- src/addrman.cpp | 2 ++ src/addrman.h | 11 ++--------- src/net.cpp | 1 + src/qt/walletframe.cpp | 1 + src/test/addrman_tests.cpp | 7 ++++--- src/test/fuzz/versionbits.cpp | 1 + 6 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/addrman.cpp b/src/addrman.cpp index 986a1a5d4b8..bf1230110f8 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -5,10 +5,12 @@ #include +#include #include #include #include #include +#include #include #include diff --git a/src/addrman.h b/src/addrman.h index 74bfe9748b6..14cc113f94d 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -6,23 +6,16 @@ #ifndef BITCOIN_ADDRMAN_H #define BITCOIN_ADDRMAN_H -#include -#include #include -#include +#include #include #include -#include -#include #include #include -#include -#include -#include +#include #include #include -#include #include #include diff --git a/src/net.cpp b/src/net.cpp index 35376b89ac8..4a8ec556306 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index f694fbecb51..5eeb2d5308e 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp index e1b5df9502d..4ed06d588ba 100644 --- a/src/test/addrman_tests.cpp +++ b/src/test/addrman_tests.cpp @@ -5,13 +5,14 @@ #include #include #include +#include +#include +#include +#include #include #include #include #include -#include -#include -#include #include diff --git a/src/test/fuzz/versionbits.cpp b/src/test/fuzz/versionbits.cpp index 91868218362..73a7d24971a 100644 --- a/src/test/fuzz/versionbits.cpp +++ b/src/test/fuzz/versionbits.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include