[PATCH 00/12] DMX warning cleanup
Alan Coopersmith
alan.coopersmith at oracle.com
Wed Dec 17 21:06:24 PST 2014
This doesn't get rid of all the warnings in dmx, but it reduces the number
reported when building with gcc 4.8.2 on Solaris from 222 to 58.
Alan Coopersmith (12):
dmx: Add _X_ATTRIBUTE_PRINTF to dmxConfigLog() & dmxConfigOutput()
dmx: move format strings inline so gcc can check
dmx: fix printf format argument warnings
dmx: remove unused variables
dmx: attempt to untangle nested loops using same index variable
dmx: more unshadowing of variables
dmx: glxproxy prototype cleanup
dmx: remove redundant declaration of dmxFontPrivateIndex from
dmxfont.h
dmx: remove redundant redeclarations of variables from other headers
dmx: Mark glxIsExtensionSupported as a const char *
dmx: constify GCOps & GCFuncs pointers
dmx: include header for DMXExtensionInit() in dmx.c
hw/dmx/config/dmxparse.h | 3 ++-
hw/dmx/config/dmxprint.c | 20 ++++----------------
hw/dmx/dmx.c | 1 +
hw/dmx/dmxcb.c | 3 ---
hw/dmx/dmxfont.h | 2 --
hw/dmx/dmxgc.c | 4 ++--
hw/dmx/dmxgc.h | 4 ++--
hw/dmx/dmxinit.c | 42 ++++++++++++++++++++---------------------
hw/dmx/dmxpict.c | 1 -
hw/dmx/dmxprop.c | 6 +++---
hw/dmx/dmxscrinit.c | 1 -
hw/dmx/dmxwindow.c | 4 ----
hw/dmx/glxProxy/compsize.h | 7 +++++++
hw/dmx/glxProxy/g_disptab.h | 21 ++++++++++++++++++++-
hw/dmx/glxProxy/glxcmds.c | 7 +++----
hw/dmx/glxProxy/glxcmds.h | 6 ++++++
hw/dmx/glxProxy/glxcmdsswap.c | 2 --
hw/dmx/glxProxy/glxext.h | 1 +
hw/dmx/glxProxy/glxscreens.c | 6 +++---
hw/dmx/glxProxy/glxscreens.h | 2 ++
hw/dmx/glxProxy/glxserver.h | 8 --------
hw/dmx/glxProxy/glxsingle.c | 6 ++----
hw/dmx/glxProxy/glxsingle.h | 4 ----
hw/dmx/glxProxy/glxswap.c | 4 +---
hw/dmx/glxProxy/glxvendor.c | 6 ++----
hw/dmx/input/dmxinputinit.c | 10 +++++-----
26 files changed, 87 insertions(+), 94 deletions(-)
--
1.7.9.2
More information about the xorg-devel
mailing list