summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-10-01 22:12:26 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2015-02-07 21:16:33 +0000
commit8813eb82529cb9cf1642a01af3e143e570ebc069 (patch)
tree8b1db655bb43fed7d299dff978aae187b75c4e12
parent28f6427aec1f5a1982e1c01eff45af0d401bf659 (diff)
Ensure format warnings in winclipboard/
XXX: Duplicate prototypes are bad :-(
-rw-r--r--hw/xwin/winclipboard/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/winclipboard/internal.h b/hw/xwin/winclipboard/internal.h
index c6bde84af..6c26caf2e 100644
--- a/hw/xwin/winclipboard/internal.h
+++ b/hw/xwin/winclipboard/internal.h
@@ -50,8 +50,8 @@
* References to external symbols
*/
-extern void winDebug(const char *format, ...);
-extern void ErrorF(const char *format, ...);
+extern void winDebug(const char *format, ...) _X_ATTRIBUTE_PRINTF(1, 2);
+extern void ErrorF(const char *format, ...) _X_ATTRIBUTE_PRINTF(1, 2);
/*
* winclipboardtextconv.c