From 8e2bc0b51c8e58e4c20a99ea21c84bcd6ad9d495 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 May 2017 18:18:22 -0700 Subject: maint.mk: update regex to reflect 2013 addition of "assume" to verify.h * top/maint.mk (sc_prohibit_verify_without_use): Don't reject a source file that uses the assume macro, claiming that verify.h is unused. --- top/maint.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'top/maint.mk') diff --git a/top/maint.mk b/top/maint.mk index 0cabd2f319..09a98bce80 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -696,7 +696,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)?|static_assert) *\(' \ + re='\<(verify(true|expr)?|assume|static_assert) *\(' \ $(_sc_header_without_use) # Don't include xfreopen.h unless you use one of its functions. -- cgit v1.2.1