Fixed bug 3879 - add missing SDLCALL to SDLTest_TrackedMalloc & co.
authorSam Lantinga <slouken@libsdl.org>
Fri, 13 Oct 2017 09:50:04 -0700
changeset 116218c8e18a2c390
parent 11620 9658d3a4b03a
child 11622 7abd358d3cec
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
     1.1 --- a/src/test/SDL_test_memory.c	Fri Oct 13 01:15:29 2017 -0400
     1.2 +++ b/src/test/SDL_test_memory.c	Fri Oct 13 09:50:04 2017 -0700
     1.3 @@ -144,7 +144,7 @@
     1.4      }
     1.5  }
     1.6  
     1.7 -static void *SDLTest_TrackedMalloc(size_t size)
     1.8 +static void * SDLCALL SDLTest_TrackedMalloc(size_t size)
     1.9  {
    1.10      void *mem;
    1.11  
    1.12 @@ -155,7 +155,7 @@
    1.13      return mem;
    1.14  }
    1.15  
    1.16 -static void *SDLTest_TrackedCalloc(size_t nmemb, size_t size)
    1.17 +static void * SDLCALL SDLTest_TrackedCalloc(size_t nmemb, size_t size)
    1.18  {
    1.19      void *mem;
    1.20  
    1.21 @@ -166,7 +166,7 @@
    1.22      return mem;
    1.23  }
    1.24  
    1.25 -static void *SDLTest_TrackedRealloc(void *ptr, size_t size)
    1.26 +static void * SDLCALL SDLTest_TrackedRealloc(void *ptr, size_t size)
    1.27  {
    1.28      void *mem;
    1.29  
    1.30 @@ -181,7 +181,7 @@
    1.31      return mem;
    1.32  }
    1.33  
    1.34 -static void SDLTest_TrackedFree(void *ptr)
    1.35 +static void SDLCALL SDLTest_TrackedFree(void *ptr)
    1.36  {
    1.37      if (!ptr) {
    1.38          return;