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
..
allowev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
allowev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgdctl.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgdctl.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgfctl.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgfctl.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgkbd.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgkbd.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgkmap.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgkmap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgprop.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgprop.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgptr.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
chgptr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
closedev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
closedev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
devbell.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
devbell.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
exevents.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
exglobals.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
extinit.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getbmap.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getbmap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getdctl.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getdctl.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getfctl.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getfctl.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getfocus.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getfocus.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getkmap.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getkmap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getmmap.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getmmap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getprop.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getprop.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getselev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getselev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getvers.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
getvers.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabdev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabdev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabdevb.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabdevb.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabdevk.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
grabdevk.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
gtmotion.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
gtmotion.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
listdev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
listdev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
Makefile.am
Xi: namespace XI2 files.
2009-06-17 09:05:22 +10:00
opendev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
opendev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
queryst.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
queryst.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
selectev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
selectev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
sendexev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
sendexev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setbmap.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setbmap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setdval.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setdval.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setfocus.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setfocus.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setmmap.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setmmap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setmode.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
setmode.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
stubs.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
ungrdev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
ungrdev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
ungrdevb.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
ungrdevb.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
ungrdevk.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
ungrdevk.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiallowev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiallowev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xichangecursor.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xichangecursor.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xichangehierarchy.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xichangehierarchy.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xigetclientpointer.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xigetclientpointer.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xigrabdev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xigrabdev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xipassivegrab.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xipassivegrab.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiproperty.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiproperty.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiquerydevice.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiquerydevice.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiquerypointer.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiquerypointer.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiqueryversion.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiqueryversion.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiselectev.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiselectev.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xisetclientpointer.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xisetclientpointer.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xisetdevfocus.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xisetdevfocus.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiwarppointer.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xiwarppointer.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00