Fixed bug 3879 - add missing SDLCALL to SDLTest_TrackedMalloc & co.

Ozkan Sezer

The attached trivial patch adds missing SDLCALL to SDLTest_TrackedMalloc & co.
This commit is contained in:
Sam Lantinga 2017-10-13 09:50:04 -07:00
parent fa15674134
commit cf9236488a

View file

@ -144,7 +144,7 @@ static void SDL_UntrackAllocation(void *mem)
}
}
static void *SDLTest_TrackedMalloc(size_t size)
static void * SDLCALL SDLTest_TrackedMalloc(size_t size)
{
void *mem;
@ -155,7 +155,7 @@ static void *SDLTest_TrackedMalloc(size_t size)
return mem;
}
static void *SDLTest_TrackedCalloc(size_t nmemb, size_t size)
static void * SDLCALL SDLTest_TrackedCalloc(size_t nmemb, size_t size)
{
void *mem;
@ -166,7 +166,7 @@ static void *SDLTest_TrackedCalloc(size_t nmemb, size_t size)
return mem;
}
static void *SDLTest_TrackedRealloc(void *ptr, size_t size)
static void * SDLCALL SDLTest_TrackedRealloc(void *ptr, size_t size)
{
void *mem;
@ -181,7 +181,7 @@ static void *SDLTest_TrackedRealloc(void *ptr, size_t size)
return mem;
}
static void SDLTest_TrackedFree(void *ptr)
static void SDLCALL SDLTest_TrackedFree(void *ptr)
{
if (!ptr) {
return;