The functions like isalnum(), isalpha(), isdigit(), etc. are also
available in Python, however `make syntax-check` do not intend to
prohibit them.

Signed-off-by: Radostin Stoyanov <rstoyan...@gmail.com>
---
 cfg.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cfg.mk b/cfg.mk
index bc8088d7c..4aa26d434 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -496,6 +496,7 @@ ctype_re = 
isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\
 
 sc_avoid_ctype_macros:
        @prohibit='\b($(ctype_re)) *\(' \
+       in_vc_files='\.[ch]$$' \
        halt='use c-ctype.h instead of ctype macros' \
          $(_sc_search_regexp)
 
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to