diff options
-rw-r--r-- | Makefile.maint | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.maint b/Makefile.maint index 3806016db..482777ec9 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -75,6 +75,7 @@ syntax-check-rules = \ sc_prohibit_atoi_atof \ sc_prohibit_jm_in_m4 \ sc_space_tab \ + sc_src_functions_have_static_scope \ sc_sun_os_names \ sc_system_h_headers \ sc_trailing_blank \ @@ -92,6 +93,9 @@ 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; \ |