vk/util: Annotate anv_finishme() as printflike

This commit is contained in:
Chad Versace
2015-06-09 14:46:18 -07:00
parent 822cb16abe
commit d57c4cf999
2 changed files with 3 additions and 2 deletions

View File

@@ -88,7 +88,8 @@ vk_error(VkResult error)
return error;
}
void __anv_finishme(const char *file, int line, const char *format, ...);
void __anv_finishme(const char *file, int line, const char *format, ...)
anv_printflike(3, 4);
/**
* Print a FINISHME message, including its source location.

View File

@@ -30,7 +30,7 @@
#include "private.h"
void
void anv_printflike(3, 4)
__anv_finishme(const char *file, int line, const char *format, ...)
{
va_list ap;