From: Andrea Bolognani Date: Fri, 12 Mar 2021 16:26:51 +0000 (+0100) Subject: syntax-check: Allow exceptions for sc_prohibit_nonreentrant X-Git-Tag: v7.2.0-rc1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef4968cf78cbe973e527b76fb328c2e77ced82c;p=thirdparty%2Flibvirt.git syntax-check: Allow exceptions for sc_prohibit_nonreentrant We're going to need it in a bit. Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 249e43fa52..2bd7e2aae4 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)