]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: prefer MAYBE_UNUSED
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Nov 2021 05:36:47 +0000 (21:36 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 19 Nov 2021 05:37:38 +0000 (21:37 -0800)
commit3e2d64448300ea91be258af5b64ed3b97b865bd6
treedfd9dc6e8d0271558a427c0b1a23df3f36b56f91
parentd0f035fc64fb348cb092fbb6ae7e8ce76b4d82db
maint: prefer MAYBE_UNUSED

Prefer MAYBE_UNUSED to _GL_UNUSED, since the C2x syntax
will be [[maybe_unused]] at the start of the declaration,
and we want to look forward to that.  All uses of _GL_UNUSED
either changed to MAYBE_UNUSED, or (when not needed) removed.
14 files changed:
src/chroot.c
src/cksum.c
src/cksum.h
src/copy.c
src/digest.c
src/factor.c
src/ls.c
src/od.c
src/stat.c
src/stty.c
src/sum.c
src/sum.h
src/tac.c
src/tsort.c