]> xenbits.xensource.com Git - libvirt.git/commitdiff
syntax-check: Don't check non-reentrant functions in docs
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Feb 2013 10:48:44 +0000 (11:48 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 7 Feb 2013 17:00:47 +0000 (18:00 +0100)
Otherwise constructions like "random (used by default)" end up breaking
syntax check by apparently using non-reentrant functions.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 2dfde01b82cad039c378cd8bd3494451fa4cefc9..309a2d7f66523f6f52e1b6c8edd2e99e88c0b0cb 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -813,7 +813,7 @@ exclude_file_name_regexp--sc_prohibit_newline_at_end_of_diagnostic = \
   ^src/rpc/gendispatch\.pl$$
 
 exclude_file_name_regexp--sc_prohibit_nonreentrant = \
-  ^((po|tests)/|docs/.*py|run.in$$)
+  ^((po|tests)/|docs/.*(py|html\.in)|run.in$$)
 
 exclude_file_name_regexp--sc_prohibit_raw_allocation = \
   ^(src/util/viralloc\.[ch]|examples/.*|tests/securityselinuxhelper.c)$$