From cf9236488a33b951e92aaadb2b3bc0c836efa0d5 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 13 Oct 2017 09:50:04 -0700 Subject: [PATCH] Fixed bug 3879 - add missing SDLCALL to SDLTest_TrackedMalloc & co. Ozkan Sezer The attached trivial patch adds missing SDLCALL to SDLTest_TrackedMalloc & co. --- src/test/SDL_test_memory.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/SDL_test_memory.c b/src/test/SDL_test_memory.c index b060332eb..3a2dc7108 100644 --- a/src/test/SDL_test_memory.c +++ b/src/test/SDL_test_memory.c @@ -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;