From 466b625b5d3bda8e1e48fd8c67754bf4bef1516b Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 24 Nov 2022 09:32:58 -0600 Subject: [PATCH] wolfcrypt/src/logging.c: add missing void arg list to definition of wc_GetCurrentIdx(). --- wolfcrypt/src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/logging.c b/wolfcrypt/src/logging.c index 9aa08bb9e..5761a62d7 100644 --- a/wolfcrypt/src/logging.c +++ b/wolfcrypt/src/logging.c @@ -816,7 +816,7 @@ int wc_AddErrorNode(int error, int line, char* buf, char* file) * wc_current_node is pointing to. It can be greater than zero in cases * where wc_PullErrorNode() has been called without the node having been * removed. */ -int wc_GetCurrentIdx() +int wc_GetCurrentIdx(void) { int ret = 0; #ifdef WOLFSSL_HAVE_ERROR_QUEUE