diff options
author | Chad Versace <[email protected]> | 2015-06-09 14:46:18 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-06-09 14:46:49 -0700 |
commit | d57c4cf999381e4f6fbd8b5c85ead6bb5938290d (patch) | |
tree | e15d3f33faf570b6a150c4aed6b3b8a3a6b8ef7b | |
parent | 822cb16abe9b1446b218f58d7aa679da02efca7f (diff) |
vk/util: Annotate anv_finishme() as printflike
-rw-r--r-- | src/vulkan/private.h | 3 | ||||
-rw-r--r-- | src/vulkan/util.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vulkan/private.h b/src/vulkan/private.h index 8cffdf1f91b..822cd890073 100644 --- a/src/vulkan/private.h +++ b/src/vulkan/private.h @@ -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. diff --git a/src/vulkan/util.c b/src/vulkan/util.c index 082499d6093..928f191847f 100644 --- a/src/vulkan/util.c +++ b/src/vulkan/util.c @@ -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; |