]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
syntax-check: Allow exceptions for sc_prohibit_nonreentrant
authorAndrea Bolognani <abologna@redhat.com>
Fri, 12 Mar 2021 16:26:51 +0000 (17:26 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 15 Mar 2021 17:49:03 +0000 (18:49 +0100)
We're going to need it in a bit.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
build-aux/syntax-check.mk

index 249e43fa528db2f42b8b6de9262273c614670e60..2bd7e2aae4d9f1730093be9546567eba105f7934 100644 (file)
@@ -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)