diff options
-rw-r--r-- | mk/check/check-headers.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mk/check/check-headers.sh b/mk/check/check-headers.sh index c965025d524..27281d87f59 100644 --- a/mk/check/check-headers.sh +++ b/mk/check/check-headers.sh @@ -1,4 +1,4 @@ -# $NetBSD: check-headers.sh,v 1.1 2006/11/09 02:53:15 rillig Exp $ +# $NetBSD: check-headers.sh,v 1.2 2006/11/09 09:51:46 rillig Exp $ # # This program checks the header files for possible problems. # @@ -32,17 +32,13 @@ find * -type f -print 2>/dev/null \ | { while read fname; do + eval "case \"\$fname\" in $SKIP_FILTER *.orig) continue;; esac" + case "$fname" in *.h | *.hpp | *.h++ | *.hxx) - ;; - *) - continue + check_header "$fname" ;; esac - - eval "case \"\$fname\" in $SKIP_FILTER *.orig) continue;; esac" - - check_header "$fname" done cs_exit } |