aboutsummaryrefslogtreecommitdiff
path: root/src/support
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/support
parent100949af0e2551f22c02a73355f2c64710b68ef1 (diff)
downloadbitcoin-a63d4cb26a2830b297288aa6acf5b69108353334.tar.xz
refactor: use <cstdlib> over stdlib.h
We currently use both. Consolidate on the former.
Diffstat (limited to 'src/support')
-rw-r--r--src/support/cleanse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/cleanse.h b/src/support/cleanse.h
index 8c1210a114..b1227770c7 100644
--- a/src/support/cleanse.h
+++ b/src/support/cleanse.h
@@ -6,7 +6,7 @@
#ifndef BITCOIN_SUPPORT_CLEANSE_H
#define BITCOIN_SUPPORT_CLEANSE_H
-#include <stdlib.h>
+#include <cstdlib>
/** Secure overwrite a buffer (possibly containing secret data) with zero-bytes. The write
* operation will not be optimized out by the compiler. */