Mercurial > mplayer.hg
changeset 23939:f85dd30807a3
cosmetics, break overly long lines
author | ivo |
---|---|
date | Tue, 31 Jul 2007 08:11:18 +0000 |
parents | 0239a594ec45 |
children | 1b3e61a77754 |
files | TOOLS/checktree.sh |
diffstat | 1 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/TOOLS/checktree.sh Tue Jul 31 08:06:37 2007 +0000 +++ b/TOOLS/checktree.sh Tue Jul 31 08:11:18 2007 +0000 @@ -363,12 +363,14 @@ for i in calloc malloc realloc memalign av_malloc av_mallocz faad_malloc \ lzo_malloc safe_malloc mpeg2_malloc _ogg_malloc; do printhead "--> casting of void* $i()" - grep $_grepopts "([ $TAB]*[a-zA-Z_]\+[ $TAB]*\*.*)[ $TAB]*$i" $chfilelist + grep $_grepopts "([ $TAB]*[a-zA-Z_]\+[ $TAB]*\*.*)[ $TAB]*$i" \ + $chfilelist done for i in "" signed unsigned; do printhead "--> usage of sizeof($i char)" - grep $_grepopts "sizeof[ $TAB]*([ $TAB]*$i[ $TAB]*char[ $TAB]*)" $chfilelist + grep $_grepopts "sizeof[ $TAB]*([ $TAB]*$i[ $TAB]*char[ $TAB]*)" \ + $chfilelist done for i in int8_t uint8_t; do @@ -384,16 +386,20 @@ # added a-fA-F_ to eliminate some false positives printhead "--> usage of *0" - grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*\*[ $TAB]*0[^.0-9xa-fA-F_]" $chfilelist + grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*\*[ $TAB]*0[^.0-9xa-fA-F_]" \ + $chfilelist printhead "--> usage of *1" - grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*\*[ $TAB]*1[^.0-9ea-fA-F_]" $chfilelist + grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*\*[ $TAB]*1[^.0-9ea-fA-F_]" \ + $chfilelist printhead "--> usage of +0" - grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*+[ $TAB]*0[^.0-9xa-fA-F_]" $chfilelist + grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*+[ $TAB]*0[^.0-9xa-fA-F_]" \ + $chfilelist printhead "--> usage of -0" - grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*-[ $TAB]*0[^.0-9xa-fA-F_]" $chfilelist + grep $_grepopts "[a-zA-Z0-9)]\+[ $TAB]*-[ $TAB]*0[^.0-9xa-fA-F_]" \ + $chfilelist fi # -----------------------------------------------------------------------------