From 07316202db83c1730ee682115ba92dab1950da80 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sun, 16 Sep 2012 17:02:22 +0700 Subject: [PATCH] syntax-check: skip prohibit_always_true_header_tests rule. * cfg.mk (local-checks-to-skip): Add sc_prohibit_always_true_header_tests. Signed-off-by: Gary V. Vaughan --- cfg.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cfg.mk b/cfg.mk index ef05440fc..e80b1f6c0 100644 --- a/cfg.mk +++ b/cfg.mk @@ -48,6 +48,7 @@ local-checks-to-skip = \ sc_GPL_version \ sc_cast_of_x_alloc_return_value \ sc_prohibit_always-defined_macros \ + sc_prohibit_always_true_header_tests \ sc_trailing_blank \ sc_unmarked_diagnostics @@ -57,6 +58,9 @@ local-checks-to-skip = \ # prohibit_always-defined_macros: # we have our own argz and dirent, which use the same macros but # which are not always-defined in our case. +# prohibit_always_true_header_tests: +# we have our own argz and dirent, which are not *always* true, +# so the guards cannot be removed in our case. # trailing_blank: flags valid rfc3676 separators # unmarked_diagnostics: libtool isn't internationalized -- 2.47.2