cleanups and warning fixes

Jamey Sharp jamey at minilop.net
Tue May 25 16:53:11 PDT 2010


These patches fix a bunch of GCC warnings, most of them in dmx. I still
haven't got my tree warning-clean, but this helps a lot.

The patches are mostly pretty independent; feel free to review whatever
strikes your fancy.

The following changes since commit c2d0b3b437b7ce6ce975f2ead4d8bb8295ef0ddc:
  Peter Hutterer (1):
        xfree86: store the InputAttributes in the input device.

are available in the git repository at:

  git://people.freedesktop.org/~jamey/xserver cleanups

Jamey Sharp (16):
      xf86bigfont: Silence compiler warning by initializing pDesc.
      xf86AutoConfig: Simplify builtin-config splitting.
      xfree86/int10/helper_mem: Fix log message.
      Xephyr: Fix Xcalloc deprecation warnings.
      dmx: Fix a non-constant printf format string warning.
      dmx: Delete unused GLX visual matching code.
      dmx: __glXMalloc -> malloc, etc.
      dmx: Xfree -> free
      dmx: Delete '#undef Xmalloc' and friends.
      dmx: Fix XSetExtensionErrorHandler calls to agree on constness.
      dmx: Delete unused ChangeKeyboardDevice/ChangePointerDevice.
      dmx: Split glx scalar swap variables from array swap variables.
      dmx: Delete unused local variables.
      dmx: Remove dead __glXDispSwap_DrawArraysEXT definition.
      dmx: Fix some "no previous prototype" warnings by making functions static.
      Ignore build products in the server's test suite.

 Xext/xf86bigfont.c                 |    4 +-
 hw/dmx/dmxinit.c                   |    9 -
 hw/dmx/glxProxy/g_renderswap.c     |  151 +++++++++++----
 hw/dmx/glxProxy/glxcmds.c          |  106 ++++++----
 hw/dmx/glxProxy/glxcmdsswap.c      |   13 +-
 hw/dmx/glxProxy/glxext.c           |   76 ++------
 hw/dmx/glxProxy/glxext.h           |   14 --
 hw/dmx/glxProxy/glxscreens.c       |   49 +-----
 hw/dmx/glxProxy/glxsingle.c        |   27 ++-
 hw/dmx/glxProxy/glxutil.c          |   77 -------
 hw/dmx/glxProxy/glxutil.h          |    6 -
 hw/dmx/glxProxy/glxvendor.c        |   19 +-
 hw/dmx/glxProxy/glxvisuals.c       |  389 +-----------------------------------
 hw/dmx/glxProxy/glxvisuals.h       |    8 -
 hw/dmx/glxProxy/render2swap.c      |   13 +-
 hw/dmx/glxProxy/renderpixswap.c    |    2 +-
 hw/dmx/glxProxy/unpack.h           |    4 +-
 hw/dmx/input/dmxcommon.c           |    2 +-
 hw/dmx/input/dmxinputinit.c        |    5 +-
 hw/dmx/input/dmxinputinit.h        |    4 +-
 hw/dmx/input/dmxxinput.c           |   57 ------
 hw/dmx/input/lnx-keyboard.c        |    4 +-
 hw/kdrive/ephyr/XF86dri.c          |   10 +-
 hw/kdrive/ephyr/ephyrhostvideo.c   |    6 +-
 hw/xfree86/common/xf86AutoConfig.c |   58 +++---
 hw/xfree86/int10/helper_mem.c      |    5 +-
 test/.gitignore                    |   13 ++
 27 files changed, 300 insertions(+), 831 deletions(-)


More information about the xorg-devel mailing list