[libvirt PATCH v3 01/10] syntax-check: Allow exceptions for sc_prohibit_nonreentrant

Andrea Bolognani abologna at redhat.com
Fri Mar 12 17:28:13 UTC 2021


We're going to need it in a bit.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 build-aux/syntax-check.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index 794ec326e4..c5a1b05f60 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -497,6 +497,7 @@ sc_prohibit_PATH_MAX:
 include $(top_srcdir)/build-aux/Makefile.nonreentrant
 sc_prohibit_nonreentrant:
 	@prohibit="\\<(${NON_REENTRANT_RE}) *\\(" \
+	exclude='exempt from syntax-check' \
 	halt="use re-entrant functions (usually ending with _r)" \
 	  $(_sc_search_regexp)
 
-- 
2.26.2




More information about the libvir-list mailing list