From 77445898a5852ecd38ab95cfb329333a82673115 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Thu, 9 Mar 2023 13:05:14 +0000 Subject: [PATCH] Remove `SECP256K1_INLINE` usage from examples --- examples/examples_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/examples_util.h b/examples/examples_util.h index a52b1fa115ed6..c4bd67b7f621c 100644 --- a/examples/examples_util.h +++ b/examples/examples_util.h @@ -77,7 +77,7 @@ static void print_hex(unsigned char* data, size_t size) { #include #endif /* Cleanses memory to prevent leaking sensitive info. Won't be optimized out. */ -static SECP256K1_INLINE void secure_erase(void *ptr, size_t len) { +static void secure_erase(void *ptr, size_t len) { #if defined(_MSC_VER) /* SecureZeroMemory is guaranteed not to be optimized out by MSVC. */ SecureZeroMemory(ptr, len);