Rename to sc_tight_scope.
authorJim Meyering <jim@meyering.net>
Tue, 27 Apr 2004 16:58:02 +0000 (16:58 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 27 Apr 2004 16:58:02 +0000 (16:58 +0000)
(syntax-check-rules): Really add it.

Makefile.maint

index 482777e..bc86029 100644 (file)
@@ -75,9 +75,10 @@ syntax-check-rules = \
   sc_prohibit_atoi_atof \
   sc_prohibit_jm_in_m4 \
   sc_space_tab \
-  sc_src_functions_have_static_scope \
+  sc_src_tight_scope \
   sc_sun_os_names \
   sc_system_h_headers \
+  sc_tight_scope \
   sc_trailing_blank \
   sc_unmarked_diagnostics
 
@@ -93,9 +94,6 @@ syntax-check: $(syntax-check-rules)
 #          exit 1; } || :
 # FIXME: don't allow `#include .strings\.h' anywhere
 
-sc_src_functions_have_static_scope:
-       $(MAKE) -C src $@
-
 sc_cast_of_argument_to_free:
        @grep -E '\<free \(\(' $(srcdir)/{lib,src}/*.[chly] &&          \
          { echo '$(ME): don'\''t cast free argument' 1>&2;             \
@@ -201,6 +199,9 @@ sc_sun_os_names:
          { echo '$(ME): found misuse of Sun OS version numbers' 1>&2;  \
            exit 1; } || :
 
+sc_tight_scope:
+       $(MAKE) -C src $@
+
 sc_trailing_blank:
        @( cvsu --list ) > /dev/null 2>&1 || : &&                       \
          grep '[        ]$$'                                           \