summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-09-22 20:02:53 +0000
committerJim Meyering <jim@meyering.net>2004-09-22 20:02:53 +0000
commit7ff510285485acfc2565536af1bb30e2a923e9ac (patch)
treec99d4c7838c71745078b88a424d6cf0febafeaff
parentcce2236cbd3ed8e3ac153b6dac0f5aa6d0243439 (diff)
downloadcoreutils-7ff510285485acfc2565536af1bb30e2a923e9ac.tar.xz
(syntax-check-rules): Remove duplicate sc_tight_scope.
(sc_system_h_headers): Also exclude copy.h; it includes <stdbool.h>.
-rw-r--r--Makefile.maint3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.maint b/Makefile.maint
index 083b71d27..311b9e2e9 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -76,7 +76,6 @@ syntax-check-rules = \
sc_prohibit_atoi_atof \
sc_prohibit_jm_in_m4 \
sc_space_tab \
- sc_tight_scope \
sc_sun_os_names \
sc_system_h_headers \
sc_tight_scope \
@@ -194,7 +193,7 @@ sc_system_h_headers: .re-list
( cvsu --list ) > /dev/null 2>&1 || exit 0; \
trap 'rm -f .re-list' 0 1 2 3 15; \
grep -E -f .re-list \
- $$(cvsu --list src | grep -Ev 'system\.h$$') \
+ $$(cvsu --list src | grep -Ev '(copy|system)\.h$$') \
&& { echo '$(ME): the above are already included via system.h'\
1>&2; exit 1; } || :; \
fi