]> git.ipfire.org Git - thirdparty/gnulib.git/commit
argp: Use the counted_by attribute.
authorBruno Haible <bruno@clisp.org>
Sun, 3 May 2026 06:51:08 +0000 (08:51 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 3 May 2026 13:34:21 +0000 (15:34 +0200)
commite63ae1335b5fbdc6c6510e30525abbdbc8a60db0
tree050aec45f358c6ea5760ff1bd30d187b223ab13e
parentef02abc0f8852656f66fba88484bba3dc79717cb
argp: Use the counted_by attribute.

* lib/argp-help.c (struct hol): Mark the entries fields as counted_by
num_entries. Swap these fields (needed for clang, see
<https://discourse.llvm.org/t/rfc-forward-referencing-a-struct-member-within-bounds-annotations/85510>).
ChangeLog
lib/argp-help.c