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
..
.gitignore
.gitignore: use common defaults with custom section #24239
2009-11-11 21:40:20 -08:00
callback.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
client.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
closestr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
closure.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
colormap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
colormapst.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
cursor.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
cursorstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dix-config-apple-verbatim.h
dix-config.h.in
Move to autoconf standard function name checks & defines
2011-12-05 14:32:45 -08:00
dix.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixaccess.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixevents.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixfont.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixfontstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixgrabs.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
dixstruct.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
eventconvert.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
events.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
eventstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
exevents.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
extension.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
extinit.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
extnsionst.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
gc.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
gcstruct.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
globals.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
hotplug.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
input.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
inputstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
inpututils.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
kdrive-config.h.in
kdrive: Add option to compile out input drivers
2010-01-06 19:47:53 +06:00
list.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
Makefile.am
Add 'optionstr.h' to include/Makefile.am
2011-11-20 14:50:57 -08:00
misc.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
miscstruct.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
opaque.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
optionstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
os.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
pixmap.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
pixmapstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
privates.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
property.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
propertyst.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
protocol-versions.h
Support XI 2.2 officially
2011-12-21 12:38:35 +10:00
ptrveloc.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
region.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
regionstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
registry.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
resource.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
rgb.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
screenint.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
scrnintstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
selection.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
servermd.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
site.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
swaprep.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
swapreq.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
validate.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
version-config.h.in
Move VENDOR_* defines from AC_SUBST to a header to avoid angering shave.
2009-04-14 10:35:44 -04:00
window.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
windowstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
XIstubs.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xkb-config.h.in
Move to autoconf standard function name checks & defines
2011-12-05 14:32:45 -08:00
xkbfile.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xkbrules.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xkbsrv.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xkbstr.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xorg-config.h.in
xserver: check for elevated privileges not uid=0
2011-12-16 15:38:13 -08:00
xorg-server.h.in
Fix gcc warnings about redundant declarations of fallback functions
2011-12-05 14:32:59 -08:00
Xprintf.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xserver-properties.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
xsha1.h
Move SHA1 computation from render/glyph.c to os/
2009-10-15 01:17:44 +02:00
xwin-config.h.in
Remove unused function checks from configure.ac & include/*.h.in
2011-12-03 10:19:12 -08:00