1. 21 Apr, 2020 1 commit
  2. 21 Apr, 2015 1 commit
  3. 21 Mar, 2012 1 commit
    • Keith Packard's avatar
      Introduce a consistent coding style · 9838b703
      Keith Packard authored
      This is strictly the application of the script 'x-indent-all.sh'
      from util/modular. Compared to the patch that Daniel posted in
      January, I've added a few indent flags:
      
      	-bap
      	-psl
      	-T PrivatePtr
      	-T pmWait
      	-T _XFUNCPROTOBEGIN
      	-T _XFUNCPROTOEND
      	-T _X_EXPORT
      
      The typedefs were needed to make the output of sdksyms.sh match the
      previous output, otherwise, the code is formatted badly enough that
      sdksyms.sh generates incorrect output.
      
      The generated code was compared with the previous version and found to
      be essentially identical -- "assert" line numbers and BUILD_TIME were
      the only differences found.
      
      The comparison was done with this script:
      
      dir1=$1
      dir2=$2
      
      for dir in $dir1 $dir2; do
      	(cd $dir && find . -name '*.o' | while read file; do
      		dir=`dirname $file`
      		base=`basename $file .o`
      		dump=$dir/$base.dump
      		objdump -d $file > $dump
      	done)
      done
      
      find $dir1 -name '*.dump' | while read dump; do
      	otherdump=`echo $dump | sed "s;$dir1;$dir2;"`
      	diff -u $dump $otherdump
      done
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Acked-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  4. 05 Dec, 2011 1 commit
    • Alan Coopersmith's avatar
      Fix builds of Xnest & Xephyr with Solaris Studio compilers · c19c55a9
      Alan Coopersmith authored
      Required in order to build with Studio cc now that xorg-macros is
      setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris
      system headers causes the noreturn attribute to not be correctly
      applied to the exit() prototype in <stdlib.h> when building with
      Studio instead of gcc.
      
      Otherwise compiler exits with errors:
      "Display.c", line 65: Function has no return statement : x_io_error_handler
      "hostx.c", line 341: Function has no return statement : x_io_error_handler
      
      Uses Studio-specific pragma instead of adding another exit() prototype
      with a noreturn attribute to avoid causing gcc to warn about having
      a redundant prototype for the exit() function.
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Reviewed-by: Mikhail Gusarov's avatarMikhail Gusarov <dottedmag@dottedmag.net>
      c19c55a9
  5. 11 Oct, 2011 1 commit
  6. 12 May, 2010 1 commit
  7. 09 Apr, 2007 1 commit
  8. 25 Mar, 2007 1 commit
  9. 21 Jul, 2006 1 commit
  10. 14 Jul, 2005 1 commit
  11. 03 Jul, 2005 1 commit
  12. 01 Jul, 2005 1 commit
  13. 09 Jun, 2005 1 commit
  14. 23 Apr, 2004 1 commit
  15. 14 Mar, 2004 1 commit
  16. 05 Mar, 2004 1 commit
  17. 03 Mar, 2004 1 commit
  18. 26 Feb, 2004 2 commits
  19. 26 Nov, 2003 1 commit
  20. 25 Nov, 2003 1 commit
  21. 17 Nov, 2003 1 commit
  22. 14 Nov, 2003 2 commits