[Spice-devel] [PATCH xf86-qxl 20/27] get rid of one of the gcc warnings
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Jul 16 08:38:44 PDT 2012
---
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
More information about the Spice-devel
mailing list