From: Zack Weinberg Date: Tue, 3 Feb 2026 16:34:15 +0000 (-0500) Subject: syntax-check: avoid unsigned_* false positive on maint.mk X-Git-Tag: v2.72.90~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432a448af5a2197244981a6efa992fc31b5e2215;p=thirdparty%2Fautoconf.git syntax-check: avoid unsigned_* false positive on maint.mk * maint.mk (sc_unsigned_char, sc_unsigned_short, sc_unsigned_int) (sc_unsigned_log): Add ‘exclude’ patterns so that these tests do not throw a false positive on their own commentary. --- diff --git a/maint.mk b/maint.mk index 1fa112df7..94fd4ccae 100644 --- a/maint.mk +++ b/maint.mk @@ -879,18 +879,22 @@ sc_obsolete_symbols: # Prohibit BSD4.3/SysV u_char, u_short, u_int and u_long usage. sc_unsigned_char: @prohibit=u''_char \ + exclude='Prohibit BSD4\.3/SysV u_' \ halt='don'\''t use u''_char; instead use unsigned char' \ $(_sc_search_regexp) sc_unsigned_short: @prohibit=u''_short \ + exclude='Prohibit BSD4\.3/SysV u_' \ halt='don'\''t use u''_short; instead use unsigned short' \ $(_sc_search_regexp) sc_unsigned_int: @prohibit=u''_int \ + exclude='Prohibit BSD4\.3/SysV u_' \ halt='don'\''t use u''_int; instead use unsigned int' \ $(_sc_search_regexp) sc_unsigned_long: @prohibit=u''_long \ + exclude='Prohibit BSD4\.3/SysV u_' \ halt='don'\''t use u''_long; instead use unsigned long' \ $(_sc_search_regexp)