util: Add more PRINTFLIKE and MALLOCLIKE annotations
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25230>
This commit is contained in:
@@ -95,7 +95,7 @@ _mesa_string_buffer_vprintf(struct _mesa_string_buffer *str,
|
||||
|
||||
bool
|
||||
_mesa_string_buffer_printf(struct _mesa_string_buffer *str,
|
||||
const char *format, ...);
|
||||
const char *format, ...) PRINTFLIKE(2, 3);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
||||
Reference in New Issue
Block a user