From d0ed95b9ff1c8087c9e18f0226ab89823cfebbe3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 11 Sep 2022 16:26:28 -0500 Subject: verify: improve maint check * top/maint.mk (sc_prohibit_verify_without_use): Adjust re to match verify.h. --- top/maint.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'top') diff --git a/top/maint.mk b/top/maint.mk index 5745d5831d..41a67e852c 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -765,7 +765,7 @@ sc_prohibit_dirent_without_use: # Prohibit the inclusion of verify.h without an actual use. sc_prohibit_verify_without_use: @h='verify.h' \ - re='\<(verify(true|expr)?|assume|static_assert) *\(' \ + re='\<(verify(_expr)?|assume) *\(' \ $(_sc_header_without_use) # Don't include xfreopen.h unless you use one of its functions. -- cgit v1.2.1