From: Peter Krempa Date: Wed, 6 Feb 2013 10:48:44 +0000 (+0100) Subject: syntax-check: Don't check non-reentrant functions in docs X-Git-Tag: v1.0.3-rc1~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2198dadc2fc4302e7e9f874a3096c74d9056359f;p=thirdparty%2Flibvirt.git syntax-check: Don't check non-reentrant functions in docs Otherwise constructions like "random (used by default)" end up breaking syntax check by apparently using non-reentrant functions. --- diff --git a/cfg.mk b/cfg.mk index 2dfde01b82..309a2d7f66 100644 --- 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)$$