- print "Obsolet headers" instead of "Obsolete function usage" when checking

for obsolet includes.
This commit is contained in:
Bernhard Reutner-Fischer 2006-04-28 19:53:48 +00:00
parent a2d9a1752c
commit 15545b1db9

View File

@ -70,7 +70,7 @@ rm -f src.obsolete.funcs
find $srcdir/.. '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 \ find $srcdir/.. '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 \
grep -E -e '\<(malloc|memory)\.h\>' \ grep -E -e '\<(malloc|memory)\.h\>' \
| sed -e "s:^$srcdir/\.\./::g" > src.obsolete.headers | sed -e "s:^$srcdir/\.\./::g" > src.obsolete.headers
testing "Obsolete function usage" "cat src.obsolete.headers" "" "" "" testing "Obsolete headers" "cat src.obsolete.headers" "" "" ""
rm -f src.obsolete.headers rm -f src.obsolete.headers