2009-12-22 20:06:10 +00:00
|
|
|
#!/bin/sh
|
2007-03-30 00:15:25 +00:00
|
|
|
echo -n "-brs -npsl -di0 -br -ce -d0 -cli0 -npcs -nfc1 -ut -i4 -ts4 -l155 -cs -T size_t " > ./.indent.pro
|
2010-06-23 18:22:52 +00:00
|
|
|
|
|
|
|
for i in `find src/ -name \*.c` ; do cat $i | perl -ne 'print "-T $1 " if (/([0-9A-Za-z_-]+_t)/)' ; done | sort | uniq >> ./.indent.pro
|
|
|
|
for i in `find src/ -name \*.h` ; do cat $i | perl -ne 'print "-T $1 " if (/([0-9A-Za-z_-]+_t)/)' ; done | sort | uniq >> ./.indent.pro
|
|
|
|
|
|
|
|
|