src/SDL_log.c
changeset 11284 3db78361e751
parent 10737 3406a0f8b041
child 11721 19f948dc5620
     1.1 --- a/src/SDL_log.c	Mon Aug 14 06:18:08 2017 -0700
     1.2 +++ b/src/SDL_log.c	Mon Aug 14 06:28:21 2017 -0700
     1.3 @@ -50,9 +50,7 @@
     1.4  } SDL_LogLevel;
     1.5  
     1.6  /* The default log output function */
     1.7 -static void SDL_LogOutput(void *userdata,
     1.8 -                          int category, SDL_LogPriority priority,
     1.9 -                          const char *message);
    1.10 +static void SDLCALL SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority, const char *message);
    1.11  
    1.12  static SDL_LogLevel *SDL_loglevels;
    1.13  static SDL_LogPriority SDL_default_priority = DEFAULT_PRIORITY;
    1.14 @@ -312,7 +310,7 @@
    1.15  static HANDLE stderrHandle = NULL;
    1.16  #endif
    1.17  
    1.18 -static void
    1.19 +static void SDLCALL
    1.20  SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority,
    1.21                const char *message)
    1.22  {