[PULL] couple of warning fixes

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 11 17:31:23 PST 2014


and some doc fixes too, most of them unreviewed though.

The following changes since commit e9db7682028bb0464c211c1f7bb6983fcfb6f37b:

  Update to version 1.16.99.901 (2014-10-28 21:32:24 -0700)

are available in the git repository at:

  git://people.freedesktop.org/~whot/xserver for-keith

for you to fetch changes up to 0f88d4e7937116dbc438f98ddf1f3d94cfc5bead:

  mi: fix documentation for miPointerSetPosition (2014-11-12 11:24:56 +1000)

----------------------------------------------------------------
John Hunter (1):
      fix an annotation mistake

Peter Hutterer (10):
      include: fix compiler warning about casting int to uint16_t
      include: fix documentation for list.h
      include: change RegionSize() to take a size_t
      Xext: fix clang compiler warning
      xfree86: drop double-typedef of DBusConnection
      xwayland: declare fatal log handler as noreturn
      dix: silence compiler warning
      dix: silence compiler warning comparing CARD32 to -1
      Drop trailing whitespaces
      mi: fix documentation for miPointerSetPosition

 Xext/dpms.c                                  | 10 ++--
 Xext/dpmsstubs.c                             | 10 ++--
 Xext/panoramiX.c                             |  2 +-
 Xext/panoramiX.h                             |  2 +-
 Xext/panoramiXprocs.c                        |  4 +-
 Xext/security.c                              |  4 +-
 Xext/shm.c                                   |  6 +--
 Xext/sync.c                                  |  2 +-
 Xext/syncsrv.h                               |  8 ++--
 Xext/xres.c                                  | 12 ++---
 Xext/xvdisp.c                                |  8 ++--
 Xext/xvdix.h                                 | 14 +++---
 Xext/xvmain.c                                | 18 +++----
 composite/compalloc.c                        |  8 ++--
 composite/compext.c                          |  4 +-
 composite/compinit.c                         |  2 +-
 composite/compint.h                          |  2 +-
 composite/compoverlay.c                      |  4 +-
 dbe/dbe.c                                    | 16 +++----
 dbe/dbestruct.h                              | 12 ++---
 dbe/midbe.c                                  | 14 +++---
 dbe/midbe.h                                  |  8 ++--
 dix/atom.c                                   |  8 ++--
 dix/colormap.c                               | 34 +++++++-------
 dix/cursor.c                                 |  8 ++--
 dix/devices.c                                |  2 +-
 dix/dispatch.c                               | 16 +++----
 dix/dispatch.h                               |  2 +-
 dix/dixfonts.c                               |  6 +--
 dix/dixutils.c                               | 12 ++---
 dix/extension.c                              |  8 ++--
 dix/gc.c                                     | 22 ++++-----
 dix/globals.c                                |  8 ++--
 dix/glyphcurs.c                              |  8 ++--
 dix/grabs.c                                  | 16 +++----
 dix/inpututils.c                             |  2 +
 dix/main.c                                   |  8 ++--
 dix/property.c                               |  8 ++--
 dix/region.c                                 | 22 ++++-----
 dix/resource.c                               | 16 +++----
 dix/selection.c                              | 10 ++--
 dix/swaprep.c                                |  8 ++--
 dix/swapreq.c                                |  8 ++--
 dix/tables.c                                 |  8 ++--
 dix/window.c                                 | 38 +++++++--------
 exa/exa.c                                    |  2 +-
 exa/exa.h                                    |  8 ++--
 exa/exa_glyphs.c                             |  8 ++--
 exa/exa_render.c                             |  4 +-
 fb/fb24_32.c                                 |  2 +-
 fb/fb24_32.h                                 |  2 +-
 fb/fbbltone.c                                |  6 +--
 fb/fbfillrect.c                              |  2 +-
 fb/fbgc.c                                    |  2 +-
 fb/fbglyph.c                                 |  2 +-
 fb/fboverlay.c                               |  2 +-
 fb/fboverlay.h                               |  2 +-
 fb/fbpict.c                                  |  6 +--
 fb/fbpixmap.c                                |  6 +--
 fb/fbrop.h                                   |  2 +-
 glamor/glamor_picture.c                      |  2 +-
 glx/glxbyteorder.h                           |  8 ++--
 glx/glxcmds.c                                | 22 ++++-----
 glx/glxdri2.c                                |  2 +-
 glx/glxscreens.c                             |  2 +-
 glx/glxscreens.h                             |  2 +-
 glx/indirect_dispatch.c                      |  6 +--
 glx/indirect_dispatch.h                      |  6 +--
 glx/indirect_dispatch_swap.c                 |  6 +--
 glx/indirect_program.c                       |  6 +--
 glx/indirect_reqsize.c                       |  6 +--
 glx/indirect_reqsize.h                       |  6 +--
 glx/indirect_size.h                          |  6 +--
 glx/indirect_size_get.c                      |  6 +--
 glx/indirect_size_get.h                      |  6 +--
 glx/indirect_table.c                         |  6 +--
 glx/indirect_table.h                         |  6 +--
 glx/indirect_texture_compression.c           |  6 +--
 glx/indirect_util.c                          |  8 ++--
 glx/indirect_util.h                          |  6 +--
 glx/rensize.c                                |  4 +-
 hw/dmx/config/Canvas.c                       |  2 +-
 hw/dmx/config/dmxprint.c                     |  2 +-
 hw/dmx/dmxpict.h                             |  2 +-
 hw/dmx/glxProxy/glxcmds.c                    | 16 +++----
 hw/dmx/glxProxy/glxsingle.c                  |  4 +-
 hw/dmx/glxProxy/glxvendor.c                  |  4 +-
 hw/dmx/input/ChkNotMaskEv.c                  |  2 +-
 hw/dmx/input/lnx-keyboard.c                  | 20 ++++----
 hw/dmx/input/lnx-ms.c                        |  2 +-
 hw/kdrive/ephyr/ephyr.c                      | 14 +++---
 hw/kdrive/ephyr/ephyr.h                      |  4 +-
 hw/kdrive/ephyr/ephyrdri.c                   |  4 +-
 hw/kdrive/ephyr/ephyrdri.h                   |  4 +-
 hw/kdrive/ephyr/ephyrdriext.c                |  4 +-
 hw/kdrive/ephyr/ephyrdriext.h                |  4 +-
 hw/kdrive/ephyr/ephyrglxext.c                |  4 +-
 hw/kdrive/ephyr/ephyrglxext.h                |  4 +-
 hw/kdrive/ephyr/ephyrhostglx.c               |  4 +-
 hw/kdrive/ephyr/ephyrhostglx.h               |  4 +-
 hw/kdrive/ephyr/ephyrinit.c                  |  4 +-
 hw/kdrive/ephyr/ephyrlog.h                   |  4 +-
 hw/kdrive/ephyr/ephyrvideo.c                 |  4 +-
 hw/kdrive/ephyr/hostx.c                      | 12 ++---
 hw/kdrive/ephyr/hostx.h                      |  4 +-
 hw/kdrive/ephyr/os.c                         |  4 +-
 hw/xfree86/common/Makefile.am                |  4 ++
 hw/xfree86/common/compiler.h                 |  4 +-
 hw/xfree86/common/xf86AutoConfig.c           |  8 ++--
 hw/xfree86/common/xf86Bus.c                  |  2 +-
 hw/xfree86/common/xf86Config.c               |  4 +-
 hw/xfree86/common/xf86Configure.c            |  4 +-
 hw/xfree86/common/xf86Mode.c                 |  8 ++--
 hw/xfree86/common/xf86PciInfo.h              |  2 +-
 hw/xfree86/common/xf86Xinput.c               | 16 +++----
 hw/xfree86/common/xf86Xinput.h               |  6 +--
 hw/xfree86/common/xf86cmap.c                 |  4 +-
 hw/xfree86/common/xf86fbman.c                |  6 +--
 hw/xfree86/common/xf86platformBus.c          |  2 +-
 hw/xfree86/common/xf86str.h                  |  2 +-
 hw/xfree86/common/xf86vmode.c                |  8 ++--
 hw/xfree86/common/xf86xvmc.h                 | 10 ++--
 hw/xfree86/ddc/ddc.c                         | 10 ++--
 hw/xfree86/ddc/edid.h                        |  8 ++--
 hw/xfree86/ddc/print_edid.c                  |  2 +-
 hw/xfree86/ddc/xf86DDC.h                     |  6 +--
 hw/xfree86/dixmods/xkbKillSrv.c              | 16 +++----
 hw/xfree86/dixmods/xkbVT.c                   | 16 +++----
 hw/xfree86/dri/dri.c                         |  4 +-
 hw/xfree86/dri/sarea.h                       | 10 ++--
 hw/xfree86/drivers/modesetting/driver.c      |  2 +-
 hw/xfree86/fbdevhw/fbdevhw.c                 |  2 +-
 hw/xfree86/i2c/xf86i2c.c                     | 40 ++++++++--------
 hw/xfree86/i2c/xf86i2c.h                     |  2 +-
 hw/xfree86/loader/loadmod.c                  |  4 +-
 hw/xfree86/modes/xf86Crtc.c                  |  4 +-
 hw/xfree86/modes/xf86Crtc.h                  | 10 ++--
 hw/xfree86/modes/xf86RandR12.c               |  4 +-
 hw/xfree86/modes/xf86cvt.c                   |  4 +-
 hw/xfree86/modes/xf86gtf.c                   | 10 ++--
 hw/xfree86/os-support/bsd/alpha_video.c      | 20 ++++----
 hw/xfree86/os-support/bsd/arm_video.c        | 28 +++++------
 hw/xfree86/os-support/bsd/bsd_apm.c          |  2 +-
 hw/xfree86/os-support/bsd/bsd_bell.c         | 20 ++++----
 hw/xfree86/os-support/bsd/bsd_init.c         | 24 +++++-----
 hw/xfree86/os-support/bsd/bsd_kqueue_apm.c   | 16 +++----
 hw/xfree86/os-support/bsd/i386_video.c       | 22 ++++-----
 hw/xfree86/os-support/bsd/ppc_video.c        | 20 ++++----
 hw/xfree86/os-support/bsd/sparc64_video.c    | 20 ++++----
 hw/xfree86/os-support/hurd/hurd_video.c      |  4 +-
 hw/xfree86/os-support/linux/lnx_agp.c        |  4 +-
 hw/xfree86/os-support/linux/lnx_kmod.c       |  2 +-
 hw/xfree86/os-support/linux/systemd-logind.c |  2 +-
 hw/xfree86/os-support/misc/SlowBcopy.c       |  8 ++--
 hw/xfree86/os-support/shared/ioperm_noop.c   |  2 +-
 hw/xfree86/os-support/shared/sigio.c         |  6 +--
 hw/xfree86/os-support/solaris/sun_apm.c      |  2 +-
 hw/xfree86/os-support/xf86_OSlib.h           | 30 ++++++------
 hw/xfree86/os-support/xf86_OSproc.h          | 28 +++++------
 hw/xfree86/parser/Configint.h                | 18 +++----
 hw/xfree86/parser/DRI.c                      |  8 ++--
 hw/xfree86/parser/Device.c                   | 16 +++----
 hw/xfree86/parser/Files.c                    | 14 +++---
 hw/xfree86/parser/Flags.c                    | 16 +++----
 hw/xfree86/parser/Input.c                    | 16 +++----
 hw/xfree86/parser/Layout.c                   | 16 +++----
 hw/xfree86/parser/Module.c                   | 16 +++----
 hw/xfree86/parser/Monitor.c                  | 18 +++----
 hw/xfree86/parser/Pointer.c                  | 16 +++----
 hw/xfree86/parser/Screen.c                   | 16 +++----
 hw/xfree86/parser/Vendor.c                   | 16 +++----
 hw/xfree86/parser/Video.c                    | 16 +++----
 hw/xfree86/parser/read.c                     | 22 ++++-----
 hw/xfree86/parser/scan.c                     | 36 +++++++-------
 hw/xfree86/parser/write.c                    | 14 +++---
 hw/xfree86/parser/xf86Optrec.h               | 18 +++----
 hw/xfree86/parser/xf86Parser.h               | 18 +++----
 hw/xfree86/parser/xf86tokens.h               | 18 +++----
 hw/xfree86/ramdac/IBM.c                      |  4 +-
 hw/xfree86/ramdac/TI.c                       |  2 +-
 hw/xfree86/ramdac/xf86Cursor.c               |  2 +-
 hw/xfree86/ramdac/xf86HWCurs.c               |  2 +-
 hw/xfree86/ramdac/xf86RamDac.h               |  4 +-
 hw/xfree86/shadowfb/shadowfb.h               |  2 +-
 hw/xfree86/utils/gtf/gtf.c                   | 26 +++++------
 hw/xfree86/vbe/vbe.c                         |  4 +-
 hw/xfree86/vbe/vbe.h                         |  4 +-
 hw/xfree86/vgahw/vgaHW.c                     |  8 ++--
 hw/xfree86/vgahw/vgaHW.h                     |  2 +-
 hw/xfree86/x86emu/debug.c                    |  4 +-
 hw/xfree86/x86emu/ops.c                      | 22 ++++-----
 hw/xfree86/x86emu/prim_ops.c                 | 70 ++++++++++++++--------------
 hw/xfree86/x86emu/sys.c                      |  6 +--
 hw/xfree86/x86emu/x86emu/regs.h              | 10 ++--
 hw/xnest/Color.c                             |  2 +-
 hw/xnest/Xnest.h                             |  2 +-
 hw/xquartz/darwin.c                          |  8 ++--
 hw/xquartz/darwinEvents.c                    |  4 +-
 hw/xwayland/xwayland.c                       |  1 +
 hw/xwin/InitInput.c                          |  2 +-
 hw/xwin/InitOutput.c                         |  8 ++--
 hw/xwin/ddraw.h                              |  6 +--
 hw/xwin/win.h                                |  2 +-
 hw/xwin/wincmap.c                            |  2 +-
 hw/xwin/winconfig.c                          | 10 ++--
 hw/xwin/wincreatewnd.c                       |  4 +-
 hw/xwin/wincursor.c                          | 10 ++--
 hw/xwin/windialogs.c                         |  8 ++--
 hw/xwin/winlayouts.h                         |  2 +-
 hw/xwin/winmultiwindowwindow.c               |  6 +--
 hw/xwin/winmultiwindowwm.c                   |  2 +-
 hw/xwin/winmultiwindowwndproc.c              |  4 +-
 hw/xwin/winscrinit.c                         |  4 +-
 hw/xwin/winshaddd.c                          |  8 ++--
 hw/xwin/winshadddnl.c                        |  6 +--
 hw/xwin/winshadgdi.c                         | 10 ++--
 hw/xwin/winwin32rootlesswndproc.c            |  2 +-
 hw/xwin/winwindowswm.c                       |  2 +-
 hw/xwin/winwndproc.c                         |  6 +--
 include/closure.h                            |  8 ++--
 include/colormap.h                           |  8 ++--
 include/colormapst.h                         |  8 ++--
 include/cursor.h                             |  8 ++--
 include/cursorstr.h                          | 10 ++--
 include/dbus-core.h                          |  2 +-
 include/dix.h                                |  8 ++--
 include/extension.h                          |  8 ++--
 include/extnsionst.h                         | 10 ++--
 include/gc.h                                 |  8 ++--
 include/gcstruct.h                           |  8 ++--
 include/input.h                              |  8 ++--
 include/inputstr.h                           | 14 +++---
 include/list.h                               |  2 +-
 include/misc.h                               | 18 +++----
 include/miscstruct.h                         |  8 ++--
 include/os.h                                 |  8 ++--
 include/pixmap.h                             |  8 ++--
 include/pixmapstr.h                          | 10 ++--
 include/property.h                           |  8 ++--
 include/propertyst.h                         | 10 ++--
 include/region.h                             |  8 ++--
 include/regionstr.h                          |  2 +-
 include/resource.h                           | 10 ++--
 include/rgb.h                                |  8 ++--
 include/screenint.h                          |  8 ++--
 include/scrnintstr.h                         |  8 ++--
 include/selection.h                          | 10 ++--
 include/servermd.h                           | 10 ++--
 include/site.h                               | 14 +++---
 include/window.h                             |  8 ++--
 include/windowstr.h                          |  8 ++--
 include/xkbfile.h                            | 18 +++----
 include/xkbsrv.h                             | 16 +++----
 include/xkbstr.h                             | 24 +++++-----
 include/xsha1.h                              |  2 +-
 mi/mi.h                                      |  8 ++--
 mi/miarc.c                                   | 24 +++++-----
 mi/mibitblt.c                                | 30 ++++++------
 mi/midash.c                                  |  8 ++--
 mi/midispcur.c                               |  4 +-
 mi/miexpose.c                                | 16 +++----
 mi/mifillrct.c                               |  8 ++--
 mi/mifpoly.h                                 |  8 ++--
 mi/miglblt.c                                 |  8 ++--
 mi/miinitext.c                               |  8 ++--
 mi/mipointer.c                               |  5 ++
 mi/mipoly.c                                  |  8 ++--
 mi/mipoly.h                                  |  2 +-
 mi/mipolypnt.c                               |  8 ++--
 mi/mipolyrect.c                              |  8 ++--
 mi/mipolyseg.c                               | 10 ++--
 mi/mipolytext.c                              |  8 ++--
 mi/mipushpxl.c                               |  8 ++--
 mi/miscrinit.c                               |  2 +-
 mi/mistruct.h                                |  8 ++--
 mi/mivaltree.c                               | 20 ++++----
 mi/miwindow.c                                |  8 ++--
 mi/mizerclip.c                               |  8 ++--
 mi/mizerline.c                               | 12 ++---
 miext/damage/damage.c                        |  2 +-
 miext/rootless/rootless.h                    |  2 +-
 miext/rootless/rootlessGC.c                  |  2 +-
 miext/rootless/rootlessValTree.c             | 32 ++++++-------
 miext/rootless/rootlessWindow.c              |  6 +--
 miext/shadow/shrotate.c                      |  2 +-
 miext/sync/misyncfd.c                        |  4 +-
 os/WaitFor.c                                 | 18 +++----
 os/access.c                                  | 42 ++++++++---------
 os/busfault.c                                |  2 +-
 os/connection.c                              | 16 +++----
 os/io.c                                      | 10 ++--
 os/log.c                                     |  2 +-
 os/oscolor.c                                 |  8 ++--
 os/osdep.h                                   |  8 ++--
 os/osinit.c                                  | 14 +++---
 os/xdmcp.c                                   |  2 +-
 present/present.c                            |  4 +-
 randr/randrstr.h                             | 20 ++++----
 randr/rrprovider.c                           |  2 +-
 randr/rrtransform.c                          |  2 +-
 randr/rrtransform.h                          |  2 +-
 randr/rrxinerama.c                           |  2 +-
 record/record.c                              | 20 ++++----
 render/animcur.c                             |  2 +-
 render/glyph.c                               |  2 +-
 render/glyphstr.h                            |  2 +-
 render/mipict.h                              |  2 +-
 render/picture.c                             |  2 +-
 render/picture.h                             |  8 ++--
 render/render.c                              |  4 +-
 xfixes/cursor.c                              | 22 ++++-----
 xkb/XKBAlloc.c                               | 16 +++----
 xkb/XKBGAlloc.c                              | 16 +++----
 xkb/XKBMAlloc.c                              | 18 +++----
 xkb/XKBMisc.c                                | 16 +++----
 xkb/ddxBeep.c                                | 16 +++----
 xkb/ddxCtrls.c                               | 16 +++----
 xkb/ddxKillSrv.c                             | 16 +++----
 xkb/ddxLEDs.c                                | 16 +++----
 xkb/ddxLoad.c                                | 16 +++----
 xkb/ddxVT.c                                  | 16 +++----
 xkb/maprules.c                               | 18 +++----
 xkb/xkb.c                                    | 16 +++----
 xkb/xkbAccessX.c                             | 18 +++----
 xkb/xkbActions.c                             | 16 +++----
 xkb/xkbEvents.c                              | 16 +++----
 xkb/xkbInit.c                                | 22 ++++-----
 xkb/xkbLEDs.c                                | 44 ++++++++---------
 xkb/xkbPrKeyEv.c                             | 16 +++----
 xkb/xkbSwap.c                                | 16 +++----
 xkb/xkbUtils.c                               | 16 +++----
 xkb/xkbfmisc.c                               | 18 +++----
 xkb/xkbgeom.h                                | 16 +++----
 xkb/xkbout.c                                 | 18 +++----
 xkb/xkbtext.c                                | 18 +++----
 xkb/xkmread.c                                | 18 +++----
 336 files changed, 1596 insertions(+), 1584 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141112/37b1d497/attachment-0001.sig>


More information about the xorg-devel mailing list