Skip to content

Commit

Permalink
add void and remove rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed May 15, 2024
1 parent d68f3cf commit 9aeef1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion wolfcrypt/src/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ void* wolfSSL_SetGlobalHeapHint(void* heap)


/* returns a pointer to the current global heap hint */
void* wolfSSL_GetGlobalHeapHint()
void* wolfSSL_GetGlobalHeapHint(void)
{
return globalHeapHint;
}
Expand Down
1 change: 0 additions & 1 deletion wolfssl/wolfcrypt/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ WOLFSSL_API int wolfSSL_GetAllocators(wolfSSL_Malloc_cb* mf,
byte haFlag; /* flag used for checking handshake count */
} WOLFSSL_HEAP_HINT;

WOLFSSL_API void wolfSSL_SetGlobalHeapHint(void* heap);
WOLFSSL_API void* wolfSSL_SetGlobalHeapHint(void* heap);
WOLFSSL_API void* wolfSSL_GetGlobalHeapHint(void);
WOLFSSL_API int wc_LoadStaticMemory_ex(WOLFSSL_HEAP_HINT** pHint,
Expand Down

0 comments on commit 9aeef1d

Please sign in to comment.