check-local-headers: ignore c++ headers
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 1 Nov 2012 16:42:45 +0000 (17:42 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Thu, 1 Nov 2012 17:28:24 +0000 (18:28 +0100)
ChangeLog
scripts/check-local-headers.sh

index 7024d8e..bea7626 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * scripts/check-local-headers.sh: Ignore c++ headers.
+
 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
 
        * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
index e914c4b..5cc8def 100755 (executable)
@@ -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 }
 {