1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-16 12:22:01 +02:00

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.
This commit is contained in:
Collin Funk
2025-11-16 16:59:43 -08:00
parent 9a970586c7
commit 6cbb7f0dbb

View File

@@ -552,8 +552,7 @@ require_more_args (void)
/* Print evaluation trace and args remaining. */
static void
trace (fxn)
char *fxn;
trace (char const *fxn)
{
char **a;