clang-tidy: Apply modernize-deprecated-headers

This can be reproduced according to the developer notes with something
like

( cd ./src/ && ../contrib/devtools/run-clang-tidy.py -p ../bld-cmake -fix -j $(nproc) )

Also, the header related changes were done manually.
This commit is contained in:
MarcoFalke
2025-06-03 13:45:37 +02:00
parent 2d819fa4df
commit fae71d30f7
87 changed files with 101 additions and 98 deletions

View File

@@ -7,7 +7,7 @@
#define BITCOIN_CONSENSUS_CONSENSUS_H
#include <cstdlib>
#include <stdint.h>
#include <cstdint>
/** The maximum allowed size for a serialized block, in bytes (only for buffer size limits) */
static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 4000000;

View File

@@ -7,7 +7,7 @@
#include <consensus/amount.h>
#include <stdint.h>
#include <cstdint>
#include <vector>
class CBlockIndex;