use format string attributes for functions accepting va_list params, too

This commit is contained in:
Ozkan Sezer
2023-11-17 15:56:10 +03:00
parent 666301f9f9
commit 39870031d1
4 changed files with 15 additions and 5 deletions

View File

@@ -351,7 +351,7 @@ extern DECLSPEC void SDLCALL SDL_LogMessage(int category,
*/
extern DECLSPEC void SDLCALL SDL_LogMessageV(int category,
SDL_LogPriority priority,
const char *fmt, va_list ap);
SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) SDL_PRINTF_VARARG_FUNCV(3);
/**
* The prototype for the log output callback function.