mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03: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:
1 parent
9a970586c7
commit
6cbb7f0dbb
1 file changed
+1
-2
+1
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user