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

20221124-wc_GetCurrentIdx-prototype
This commit is contained in:
Sean Parkinson
2022-11-25 07:58:26 +10:00
committed by GitHub

View File

@@ -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