Skip to content

Commit fa9ca13

Browse files
author
MarcoFalke
committed
refactor: Sort includes of touched source files
1 parent facb152 commit fa9ca13

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+58
-56
lines changed

src/bench/parse_hex.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
// Copyright (c) 2024- The Bitcoin Core developers
1+
// Copyright (c) 2024-present The Bitcoin Core developers
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include <bench/bench.h>
66
#include <random.h>
7-
#include <cstddef>
87
#include <util/strencodings.h>
8+
99
#include <cassert>
10+
#include <cstddef>
1011
#include <optional>
1112
#include <vector>
1213

src/bip324.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
#include <algorithm>
1919
#include <cassert>
20-
#include <cstdint>
2120
#include <cstddef>
21+
#include <cstdint>
2222
#include <iterator>
2323
#include <string>
2424

src/cluster_linearize.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
#define BITCOIN_CLUSTER_LINEARIZE_H
77

88
#include <algorithm>
9+
#include <cstdint>
910
#include <numeric>
1011
#include <optional>
11-
#include <cstdint>
12-
#include <vector>
1312
#include <utility>
13+
#include <vector>
1414

1515
#include <random.h>
1616
#include <span.h>

src/common/args.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
#include <util/chaintype.h>
1212
#include <util/fs.h>
1313

14+
#include <cstdint>
1415
#include <iosfwd>
1516
#include <list>
1617
#include <map>
1718
#include <optional>
1819
#include <set>
19-
#include <cstdint>
2020
#include <string>
2121
#include <variant>
2222
#include <vector>

src/consensus/consensus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#ifndef BITCOIN_CONSENSUS_CONSENSUS_H
77
#define BITCOIN_CONSENSUS_CONSENSUS_H
88

9-
#include <cstdlib>
109
#include <cstdint>
10+
#include <cstdlib>
1111

1212
/** The maximum allowed size for a serialized block, in bytes (only for buffer size limits) */
1313
static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 4000000;

src/crypto/chacha20.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
#include <array>
1111
#include <cstddef>
12-
#include <cstdlib>
1312
#include <cstdint>
13+
#include <cstdlib>
1414
#include <utility>
1515

1616
// classes for ChaCha20 256-bit stream cipher developed by Daniel J. Bernstein

src/crypto/chacha20poly1305.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
#include <crypto/chacha20poly1305.h>
66

7-
#include <crypto/common.h>
87
#include <crypto/chacha20.h>
8+
#include <crypto/common.h>
99
#include <crypto/poly1305.h>
1010
#include <span.h>
1111
#include <support/cleanse.h>

src/crypto/hkdf_sha256_32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#include <crypto/hmac_sha256.h>
99

10-
#include <cstdlib>
1110
#include <cstdint>
11+
#include <cstdlib>
1212

1313
/** A rfc5869 HKDF implementation with HMAC_SHA256 and fixed key output length of 32 bytes (L=32) */
1414
class CHKDF_HMAC_SHA256_L32

src/crypto/hmac_sha256.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#include <crypto/sha256.h>
99

10-
#include <cstdlib>
1110
#include <cstdint>
11+
#include <cstdlib>
1212

1313
/** A hasher class for HMAC-SHA-256. */
1414
class CHMAC_SHA256

src/crypto/hmac_sha512.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#include <crypto/sha512.h>
99

10-
#include <cstdlib>
1110
#include <cstdint>
11+
#include <cstdlib>
1212

1313
/** A hasher class for HMAC-SHA-512. */
1414
class CHMAC_SHA512

0 commit comments

Comments
 (0)