mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
- print "Obsolet headers" instead of "Obsolete function usage" when checking
for obsolet includes.
This commit is contained in:
parent
a2d9a1752c
commit
15545b1db9
@ -70,7 +70,7 @@ rm -f src.obsolete.funcs
|
||||
find $srcdir/.. '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 \
|
||||
grep -E -e '\<(malloc|memory)\.h\>' \
|
||||
| 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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user