src/test/SDL_test_log.c
changeset 8820 0e935d5b193a
parent 8149 681eb46b8ac4
child 9619 b94b6d0bff0f
     1.1 --- a/src/test/SDL_test_log.c	Wed Jun 04 10:56:43 2014 -0700
     1.2 +++ b/src/test/SDL_test_log.c	Wed Jun 04 10:56:56 2014 -0700
     1.3 @@ -68,7 +68,7 @@
     1.4  /*
     1.5   * Prints given message with a timestamp in the TEST category and INFO priority.
     1.6   */
     1.7 -void SDLTest_Log(const char *fmt, ...)
     1.8 +void SDLTest_Log(SDL_PRINTF_FORMAT_STRING const char *fmt, ...)
     1.9  {
    1.10      va_list list;
    1.11      char logMessage[SDLTEST_MAX_LOGMESSAGE_LENGTH];
    1.12 @@ -86,7 +86,7 @@
    1.13  /*
    1.14   * Prints given message with a timestamp in the TEST category and the ERROR priority.
    1.15   */
    1.16 -void SDLTest_LogError(const char *fmt, ...)
    1.17 +void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...)
    1.18  {
    1.19      va_list list;
    1.20      char logMessage[SDLTEST_MAX_LOGMESSAGE_LENGTH];