aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-11-01 17:42:45 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-11-01 18:28:24 +0100
commit4da224a2d13ef3e42ad1dd2b5d47556963352cbd (patch)
treee6f512254d679b3abbac53854c2b3eb30703af86 /scripts
parent46879baebf171d6eea46054698e23f8726608365 (diff)
downloadglibc-4da224a2d13ef3e42ad1dd2b5d47556963352cbd.tar
glibc-4da224a2d13ef3e42ad1dd2b5d47556963352cbd.tar.gz
glibc-4da224a2d13ef3e42ad1dd2b5d47556963352cbd.tar.bz2
glibc-4da224a2d13ef3e42ad1dd2b5d47556963352cbd.zip
check-local-headers: ignore c++ headers
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-local-headers.sh2
1 files changed, 1 insertions, 1 deletions
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 }
{