[PATCH 0/7] xserver warning cleanups

Alan Coopersmith alan.coopersmith at oracle.com
Tue Nov 8 12:42:48 PST 2011


More cleanups for compiler warnings, mostly those triggered by the
recent changes to the xorg-macros default & strict warning flags.

Builds on the fixes in yesterday's [PULL] request.

Alan Coopersmith (7):
  sun_agp: cast key to uintptr_t before casting to (int *)
  Remove redundant redeclarations of functions in the same header file
  Fix gcc -Wwrite-strings warnings in XkbGetRulesDflts
  Fix gcc -Wwrite-strings warnings in various extensions
  FindModule: stop copying const char *dirname to char *dirpath
  Fix gcc -Wwrite-strings warnings in xf86 ddx
  Fix gcc -Wwrite-strings warnings in xf86Modes code

 Xext/security.c                         |    4 ++--
 Xext/sync.c                             |    4 ++--
 Xext/syncsrv.h                          |    4 ++--
 Xext/xtest.c                            |    2 +-
 Xi/extinit.c                            |    4 ++--
 Xi/xiproperty.c                         |    2 +-
 dix/devices.c                           |    2 +-
 dix/extension.c                         |    8 ++++----
 doc/Xserver-spec.xml                    |    2 +-
 hw/xfree86/common/xf86Config.c          |   12 ++++++------
 hw/xfree86/common/xf86Config.h          |    2 +-
 hw/xfree86/common/xf86Configure.c       |   20 ++++++++++----------
 hw/xfree86/common/xf86Globals.c         |    2 +-
 hw/xfree86/common/xf86Mode.c            |    4 ++--
 hw/xfree86/common/xf86Opt.h             |    4 ++--
 hw/xfree86/common/xf86Option.c          |    6 +++---
 hw/xfree86/common/xf86PM.c              |    4 ++--
 hw/xfree86/common/xf86Priv.h            |    2 +-
 hw/xfree86/common/xf86pciBus.c          |    2 +-
 hw/xfree86/ddc/xf86DDC.h                |    5 -----
 hw/xfree86/doc/ddxDesign.xml            |    2 +-
 hw/xfree86/i2c/msp3430.c                |    5 +++--
 hw/xfree86/loader/loadmod.c             |   11 +++--------
 hw/xfree86/modes/xf86Crtc.c             |    8 ++++----
 hw/xfree86/modes/xf86Crtc.h             |    2 +-
 hw/xfree86/modes/xf86EdidModes.c        |    2 +-
 hw/xfree86/modes/xf86Modes.c            |    4 ++--
 hw/xfree86/os-support/solaris/sun_agp.c |    2 +-
 hw/xfree86/parser/Flags.c               |    2 +-
 hw/xfree86/parser/configProcs.h         |    6 +++---
 hw/xfree86/parser/scan.c                |   18 +++++++++---------
 hw/xfree86/parser/xf86Optrec.h          |    2 +-
 hw/xfree86/parser/xf86Parser.h          |    2 +-
 hw/xfree86/ramdac/BTPriv.h              |    2 +-
 hw/xfree86/ramdac/IBMPriv.h             |    2 +-
 hw/xfree86/ramdac/TIPriv.h              |    2 +-
 hw/xfree86/utils/gtf/gtf.c              |    4 ++--
 hw/xfree86/vbe/vbe.c                    |    2 +-
 include/extension.h                     |    4 ++--
 include/extinit.h                       |    2 +-
 include/extnsionst.h                    |    4 ++--
 include/input.h                         |    4 ++--
 mi/miinitext.c                          |    6 +++---
 randr/randrstr.h                        |    5 -----
 render/filter.c                         |    6 +++---
 render/glyphstr.h                       |    3 ---
 render/picturestr.h                     |    6 +++---
 xkb/xkbInit.c                           |   21 +++++----------------
 48 files changed, 103 insertions(+), 131 deletions(-)

-- 
1.7.3.2



More information about the xorg-devel mailing list