]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: convert remove a K&R declaration
authorCollin Funk <collin.funk1@gmail.com>
Mon, 17 Nov 2025 00:59:43 +0000 (16:59 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Mon, 17 Nov 2025 00:59:43 +0000 (16:59 -0800)
commit6cbb7f0dbbdd684aa92b8014fade5835624cea1f
tree808eb7cc31457d5bcbec02adc55d15db850e0e77
parent9a970586c7cb92887222cb7f61d4a1eb140a1856
maint: convert remove a K&R declaration

This function is hidden unless EVAL_TRACE is defined for debugging.

* src/expr.c (trace): Convert to a prototype instead of K&R definition
to avoid -Werror=strict-prototypes. Make the argument const to avoid
-Werror=discarded-qualifiers.
src/expr.c