From 906bee8e5f474f8718d02e6f1938f20dcfe3d2cc Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 14 May 2018 09:51:03 +0200 Subject: [PATCH] Use bracket syntax includes ("#include ") --- src/bench/merkle_root.cpp | 8 ++++---- src/crypto/sha256_avx2.cpp | 4 ++-- src/crypto/sha256_sse41.cpp | 4 ++-- src/test/blockchain_tests.cpp | 6 +++--- src/wallet/test/coinselector_tests.cpp | 16 ++++++++-------- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/bench/merkle_root.cpp b/src/bench/merkle_root.cpp index ae2a0a28d..fab12da31 100644 --- a/src/bench/merkle_root.cpp +++ b/src/bench/merkle_root.cpp @@ -2,11 +2,11 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include "bench.h" +#include -#include "uint256.h" -#include "random.h" -#include "consensus/merkle.h" +#include +#include +#include static void MerkleRoot(benchmark::State& state) { diff --git a/src/crypto/sha256_avx2.cpp b/src/crypto/sha256_avx2.cpp index f45c1d4ab..b338b0692 100644 --- a/src/crypto/sha256_avx2.cpp +++ b/src/crypto/sha256_avx2.cpp @@ -7,8 +7,8 @@ #include #endif -#include "crypto/sha256.h" -#include "crypto/common.h" +#include +#include namespace sha256d64_avx2 { namespace { diff --git a/src/crypto/sha256_sse41.cpp b/src/crypto/sha256_sse41.cpp index a11d658c7..be71dd8fb 100644 --- a/src/crypto/sha256_sse41.cpp +++ b/src/crypto/sha256_sse41.cpp @@ -7,8 +7,8 @@ #include #endif -#include "crypto/sha256.h" -#include "crypto/common.h" +#include +#include namespace sha256d64_sse41 { namespace { diff --git a/src/test/blockchain_tests.cpp b/src/test/blockchain_tests.cpp index d2d000812..7d8ae46fb 100644 --- a/src/test/blockchain_tests.cpp +++ b/src/test/blockchain_tests.cpp @@ -1,9 +1,9 @@ #include -#include "stdlib.h" +#include -#include "rpc/blockchain.h" -#include "test/test_bitcoin.h" +#include +#include /* Equality between doubles is imprecise. Comparison should be done * with a small threshold of tolerance, rather than exact equality. diff --git a/src/wallet/test/coinselector_tests.cpp b/src/wallet/test/coinselector_tests.cpp index e90370cf0..d90be3300 100644 --- a/src/wallet/test/coinselector_tests.cpp +++ b/src/wallet/test/coinselector_tests.cpp @@ -2,14 +2,14 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include "wallet/wallet.h" -#include "wallet/coinselection.h" -#include "wallet/coincontrol.h" -#include "amount.h" -#include "primitives/transaction.h" -#include "random.h" -#include "test/test_bitcoin.h" -#include "wallet/test/wallet_test_fixture.h" +#include +#include +#include +#include +#include +#include +#include +#include #include #include