From 4da224a2d13ef3e42ad1dd2b5d47556963352cbd Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 1 Nov 2012 17:42:45 +0100 Subject: [PATCH] check-local-headers: ignore c++ headers --- ChangeLog | 4 ++++ scripts/check-local-headers.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7024d8ea06..bea7626aec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-11-01 Andreas Schwab + + * scripts/check-local-headers.sh: Ignore c++ headers. + 2012-11-01 Thomas Schwinge * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index e914c4bbd4..5cc8def3e5 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -32,7 +32,7 @@ exec ${AWK} -v includedir="$includedir" ' BEGIN { status = 0 exclude = "^" includedir \ - "/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|gd|nss3/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" + "/(.*-.*-.*/|)(asm[-/]|arch|linux/|selinux/|gd|nss3/|c\\+\\+/|sys/(capability|sdt(|-config))\\.h|libaudit\\.h)" } /^[^ ]/ && $1 ~ /.*:/ { obj = $1 } { -- 2.11.4.GIT