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);