Use void instead of void_t

There's really no reason for adding a typedef for void.
This commit is contained in:
Martin Storsjö
2014-02-08 23:26:33 +02:00
parent 2b77fe7f49
commit 7b96c6756e
55 changed files with 394 additions and 398 deletions

View File

@@ -59,7 +59,7 @@ extern "C" {
* \note N/A
*************************************************************************************
*/
void_t* WelsMalloc (const uint32_t kuiSize, const str_t* kpTag);
void* WelsMalloc (const uint32_t kuiSize, const str_t* kpTag);
/*!
*************************************************************************************
@@ -73,7 +73,7 @@ void_t* WelsMalloc (const uint32_t kuiSize, const str_t* kpTag);
* \note N/A
*************************************************************************************
*/
void_t WelsFree (void_t* pPtr, const str_t* kpTag);
void WelsFree (void* pPtr, const str_t* kpTag);
#define WELS_SAFE_FREE(pPtr, pTag) if (pPtr) { WelsFree(pPtr, pTag); pPtr = NULL; }