[PATCH wayland]scanner.c: Use WL_PRINTF instead of __attribute__((format(printf)))
Seedo Eldho Paul
seedoeldhopaul at gmail.com
Thu Nov 27 07:20:14 PST 2014
Signed-off-by: Seedo Eldho Paul <seedoeldhopaul at gmail.com>
---
src/scanner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/scanner.c b/src/scanner.c
index fa8e0c0..ca03c57 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -199,7 +199,7 @@ static const char *indent(int n)
}
static void
-desc_dump(char *desc, const char *fmt, ...) __attribute__((format(printf,2,3)));
+desc_dump(char *desc, const char *fmt, ...) WL_PRINTF(2, 3);
static void
desc_dump(char *desc, const char *fmt, ...)
--
1.9.1
More information about the wayland-devel
mailing list