From: Mike Frysinger Date: Sat, 29 Apr 2006 04:44:08 +0000 (-0000) Subject: detect more obsolete headers X-Git-Tag: 1_2_0~468 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=02fe81033fba717aac2f6011d3cc9c9b86731faf;p=oweals%2Fbusybox.git detect more obsolete headers --- diff --git a/testsuite/all_sourcecode.tests b/testsuite/all_sourcecode.tests index e71301b06..352a1391b 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