vk/util: Annotate anv_finishme() as printflike
This commit is contained in:
@@ -88,7 +88,8 @@ vk_error(VkResult error)
|
|||||||
return 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.
|
* Print a FINISHME message, including its source location.
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include "private.h"
|
#include "private.h"
|
||||||
|
|
||||||
void
|
void anv_printflike(3, 4)
|
||||||
__anv_finishme(const char *file, int line, const char *format, ...)
|
__anv_finishme(const char *file, int line, const char *format, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
Reference in New Issue
Block a user