use format string attributes for functions accepting va_list params, too

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

No files matched your search

+1 -1
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.