aboutsummaryrefslogtreecommitdiff
path: root/src/consensus
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-09-23 10:48:47 +0100
committerfanquake <fanquake@gmail.com>2022-09-23 10:48:47 +0100
commita63d4cb26a2830b297288aa6acf5b69108353334 (patch)
tree0c1428b8652ee7f616b8fff83a079bc5b98e778d /src/consensus
parent100949af0e2551f22c02a73355f2c64710b68ef1 (diff)
refactor: use <cstdlib> over stdlib.h
We currently use both. Consolidate on the former.
Diffstat (limited to 'src/consensus')
-rw-r--r--src/consensus/consensus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h
index b2a31e3ba4..10bdbf31a8 100644
--- a/src/consensus/consensus.h
+++ b/src/consensus/consensus.h
@@ -6,7 +6,7 @@
#ifndef BITCOIN_CONSENSUS_CONSENSUS_H
#define BITCOIN_CONSENSUS_CONSENSUS_H
-#include <stdlib.h>
+#include <cstdlib>
#include <stdint.h>
/** The maximum allowed size for a serialized block, in bytes (only for buffer size limits) */