summaryrefslogtreecommitdiff
path: root/testsuite/all_sourcecode.tests
diff options
context:
space:
mode:
authorMike Frysinger2006-04-29 04:44:08 +0000
committerMike Frysinger2006-04-29 04:44:08 +0000
commit02fe81033fba717aac2f6011d3cc9c9b86731faf (patch)
tree3df8208ee3d5d398f34d260cd9b42c0f51f3cea9 /testsuite/all_sourcecode.tests
parent59c6baedf7b017819965fd203e52c71e2c4d6c33 (diff)
downloadbusybox-02fe81033fba717aac2f6011d3cc9c9b86731faf.zip
busybox-02fe81033fba717aac2f6011d3cc9c9b86731faf.tar.gz
detect more obsolete headers
Diffstat (limited to 'testsuite/all_sourcecode.tests')
-rwxr-xr-xtestsuite/all_sourcecode.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/all_sourcecode.tests b/testsuite/all_sourcecode.tests
index e71301b..352a139 100755
--- a/testsuite/all_sourcecode.tests
+++ b/testsuite/all_sourcecode.tests
@@ -68,7 +68,7 @@ rm -f src.obsolete.funcs
# don't allow obsolete headers
#
find $srcdir/.. '(' -name '*.c' -o -name '*.h' ')' -print0 | xargs -0 \
- grep -E -e '\<(malloc|memory)\.h\>' \
+ grep -E -e '\<(malloc|memory|sys/(errno|fcntl|signal|stropts|termios|unistd))\.h\>' \
| sed -e "s:^$srcdir/\.\./::g" > src.obsolete.headers
testing "Obsolete headers" "cat src.obsolete.headers" "" "" ""
rm -f src.obsolete.headers