From 7ef4968cf78cbe973e527b76fb328c2e77ced82c Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Fri, 12 Mar 2021 17:26:51 +0100 Subject: [PATCH] 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 --- 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 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)