--- src/mspace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mspace.h b/src/mspace.h index 46a6a56..bd5fbae 100644 --- a/src/mspace.h +++ b/src/mspace.h @@ -9,7 +9,7 @@ extern "C" { //typedef unsigned long size_t; typedef void (*mspace_abort_t)(void *user_data); -typedef void (*mspace_print_t)(void *user_data, const char *format, ...); +typedef void (*mspace_print_t)(void *user_data, const char *format, ...) __attribute__((format(gnu_printf, 2, 3))); void mspace_set_abort_func(mspace_abort_t f); void mspace_set_print_func(mspace_print_t f); -- 1.7.10.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel