[PULL] Server cleanups: warnings and code style

Mikhail Gusarov dottedmag at dottedmag.net
Wed May 12 16:36:34 PDT 2010


The following changes since commit 801162919d1c625d950a5d105ae4b3487ebc30a7:
 
  Removed outdated comments obsoleted by documentation in headers (2010-05-13 00:22:38 +0700)

are available in the git repository at:
  git://anongit.freedesktop.org/~dottedmag/xserver for-keithp

Mikhail Gusarov (9):
      Do not use deprecated Xalloc function
      Turn sprintf argument into literaral string, shutting up gcc warning
      Do not jump through the hoops to deallocate xkbbasedirflag variable
      Introduce X_NORETURN macro defined as __attribute__((noreturn)) for gcc
      Mark OsAbort as noreturn function to make gcc happier.
      Fix warning: it's safe to pass atom strings > XA_LAST_PREDEFINED to free(3)
      Fix code style: extra whitespace before ()
      Remove useless casts
      Misc coding style cleanup

 dix/atom.c     |   42 ++++++++++++++++++++++++------------------
 include/misc.h |    6 ++++++
 include/os.h   |    7 ++-----
 mi/mipolypnt.c |    2 +-
 os/log.c       |    5 ++---
 os/osinit.c    |    5 ++---
 xkb/ddxLoad.c  |    8 +++-----
 7 files changed, 40 insertions(+), 35 deletions(-)


-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100513/c7e97596/attachment.pgp>


More information about the xorg-devel mailing list