Browse Source

Merge pull request #5817 from douzzer/20221124-wc_GetCurrentIdx-prototype

20221124-wc_GetCurrentIdx-prototype
Sean Parkinson 1 year ago
parent
commit
558343dd2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wolfcrypt/src/logging.c

+ 1 - 1
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