mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 05:49:11 +01:00
1630219d90
This makes it easier for us to replace it if desired, since it's now only in one spot. Also, it avoids the openssl include from allocators.h, which essentially forced openssl to be included from every compilation unit.
14 lines
410 B
C
14 lines
410 B
C
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
|
// Copyright (c) 2009-2015 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_SUPPORT_CLEANSE_H
|
|
#define BITCOIN_SUPPORT_CLEANSE_H
|
|
|
|
#include <stdlib.h>
|
|
|
|
void memory_cleanse(void *ptr, size_t len);
|
|
|
|
#endif // BITCOIN_SUPPORT_CLEANSE_H
|