]> Savannah Git Hosting - gnulib.git/commit
maint.mk: fix syntax-check for unnecessary hash.h header use
authorJim Meyering <meyering@fb.com>
Thu, 23 Jun 2022 15:12:44 +0000 (08:12 -0700)
committerBruno Haible <bruno@clisp.org>
Wed, 31 Aug 2022 23:15:36 +0000 (01:15 +0200)
commit3ea46100971a07d8aabbc0ff945c22d8964f7cc9
tree13e6c53ab64b545dc16146cef855808ae404f87e
parent2a10d026594561e20badeaca88d5a89924728c9f
maint.mk: fix syntax-check for unnecessary hash.h header use

* top/maint.mk (_hash_re): Correct the regexp. It had two problems:
- lacked the "hash_" prefix, so would match non-uses
- failed to detect uses of the hash_x?initialize functions
The former led to an excess/unneeded use of hash.h in coreutils' cut.c.
The latter would have led to a FP "not needed" report for copy.c.
ChangeLog
top/maint.mk