xserver-multidpi/hw/dmx
Keith Packard 9838b7032e Introduce a consistent coding style
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 <keithp@keithp.com>
Acked-by: Daniel Stone <daniel@fooishbar.org>
Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-21 13:54:42 -07:00
..
config Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
doc docs: spell "X Server Version" consistently in titles. Add where missing. 2011-11-21 10:34:23 -08:00
doxygen dmx: modernize doxygen generation. 2011-05-13 14:08:07 -07:00
examples Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxProxy Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
input Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
man Add xkeyboard-config to See Also of man pages referencing xkb 2011-06-21 17:54:43 -07:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
dmx_glxvisuals.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx_glxvisuals.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx-config.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcb.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxclient.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcursor.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcursor.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxextension.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxextension.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxfont.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxfont.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgc.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgc.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgcops.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgcops.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinit.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinit.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxlog.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxlog.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpict.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpict.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpixmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpixmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxprop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxprop.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxscrinit.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxscrinit.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxshadow.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxshadow.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxstat.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxstat.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxsync.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxsync.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxwindow.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxwindow.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am dmx: split DocBook/XML and Doxygen makefile targets 2011-05-13 14:08:05 -07:00