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 d81d986858
commit 2222f44c94
2 changed files with 10 additions and 4 deletions

View file

@ -352,7 +352,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.