diff options
-rw-r--r-- | cfg.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -111,6 +111,14 @@ sc_copyright_format: halt='spell Red Hat as two words' \ $(_sc_search_regexp) +# ENABLE_EXTRA_CHECKS is always defined, do not allow +# "#ifndef ENABLE_EXTRA_CHECKS" +sc_extra_checks: + @prohibit='#[[:space:]]*ifn?def[[:space:]]+ENABLE_EXTRA_CHECKS' \ + in_vc_files='\.[ch]$$' \ + halt='ENABLE_EXTRA_CHECKS is always defined' \ + $(_sc_search_regexp) + # We don't use this feature of maint.mk. prev_version_file = /dev/null |