Ignore libaudit.h when checking for system header use

This commit is contained in:
Andreas Schwab 2011-11-01 10:49:13 +01:00
parent 45b96dd684
commit d91a8b93aa
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
* scripts/check-local-headers.sh: Ignore libaudit.h.
* nscd/Makefile (extra-objs): Make recursively expanded.
2011-11-01 Ulrich Drepper <drepper@gmail.com>

View File

@ -29,7 +29,7 @@ exec ${AWK} -v includedir="$includedir" '
BEGIN {
status = 0
exclude = "^" includedir \
"/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h)"
"/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h)"
}
/^[^ ]/ && $1 ~ /.*:/ { obj = $1 }
{