xserver/hw
Adam Jackson 15d91df474 x86emu: Teach the debug code about varargs
With -Wformat-nonliteral and a debug build you'd get yelled at here:

../hw/xfree86/x86emu/x86emu/debug.h:188:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]

To fix this, rewrite the printf code to actually use varargs and the
appropriate format attribute. All callers of DECODE_PRINTF() pass a
string with no % specifiers, so we pass that as the argument to
printf("%s"). For DECODE_PRINTF2() we just pass the args through.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
2018-01-16 16:08:38 -05:00
..
dmx glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
kdrive kdrive: remove KdSignalWrapper etc. 2017-12-13 11:11:47 -05:00
vfb test: Add basic SYNC tests. 2017-09-20 13:19:27 -04:00
xfree86 x86emu: Teach the debug code about varargs 2018-01-16 16:08:38 -05:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz glx: Fix glXQueryContext for GLX_FBCONFIG_ID and GLX_RENDER_TYPE (v2) 2017-12-01 16:13:18 -05:00
xwayland xwayland: avoid race condition on new keymap 2017-12-19 10:30:42 +10:00
xwin meson: Add dependency on generated code fragments in hw/xwin/glx/ 2017-12-13 11:32:53 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00