]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
syntax-check: avoid unsigned_* false positive on maint.mk
authorZack Weinberg <zack@owlfolio.org>
Tue, 3 Feb 2026 16:34:15 +0000 (11:34 -0500)
committerZack Weinberg <zack@owlfolio.org>
Tue, 3 Feb 2026 16:34:15 +0000 (11:34 -0500)
* 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.

maint.mk

index 1fa112df719fe12bafa725726ad7fe4e978b56c4..94fd4ccae21e5ed368841db5206afe23521aac30 100644 (file)
--- 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)