aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/winmsg.c')
-rw-r--r--xorg-server/hw/xwin/winmsg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winmsg.c b/xorg-server/hw/xwin/winmsg.c
index 07c2f30eb..57c1d1888 100644
--- a/xorg-server/hw/xwin/winmsg.c
+++ b/xorg-server/hw/xwin/winmsg.c
@@ -38,7 +38,9 @@
#endif
#include <stdarg.h>
-void winVMsg(int, MessageType, int verb, const char *, va_list);
+void
+winVMsg(int, MessageType, int verb, const char *, va_list)
+_X_ATTRIBUTE_PRINTF(4, 0);
void
winVMsg(int scrnIndex, MessageType type, int verb, const char *format,