summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-31 08:11:18 +0000
committerivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-31 08:11:18 +0000
commit5e4f6416797b0515b665d1d7caffdedf664d06dc (patch)
tree7feb54c5bdccfb0139bfbaaec0bce992502fe5a1 /TOOLS
parenta5bda2e7af069683313c48cdbc3114884f17b8bd (diff)
downloadmpv-5e4f6416797b0515b665d1d7caffdedf664d06dc.tar.bz2
mpv-5e4f6416797b0515b665d1d7caffdedf664d06dc.tar.xz
cosmetics, break overly long lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23959 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/checktree.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/TOOLS/checktree.sh b/TOOLS/checktree.sh
index a603efb4ca..f2c722fdf2 100755
--- a/TOOLS/checktree.sh
+++ b/TOOLS/checktree.sh
@@ -363,12 +363,14 @@ if [ "$_stupid" = "yes" -a -n "$chfilelist" ]; then
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 @@ if [ "$_stupid" = "yes" -a -n "$chfilelist" ]; then
# 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
# -----------------------------------------------------------------------------