From: Pádraig Brady Date: Fri, 30 Jan 2026 14:12:12 +0000 (+0000) Subject: maint: avoid prohibit-const-char syntax check failure X-Git-Tag: v9.10~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18811574a2fa617b1a814709ee1872e01819ccdb;p=thirdparty%2Fcoreutils.git maint: avoid prohibit-const-char syntax check failure * src/copy.c: Avoid prohibit-const-char failure, newly triggered by the (correct) recent adjustment. --- diff --git a/src/copy.c b/src/copy.c index c76f936fd5..a53fb8f8c1 100644 --- a/src/copy.c +++ b/src/copy.c @@ -131,7 +131,7 @@ static char const *top_level_dst_name; /* debug info about the last file copy. */ static struct copy_debug copy_debug; -static const char * +static char const * copy_debug_string (enum copy_debug_val debug_val) { switch (debug_val) @@ -148,7 +148,7 @@ copy_debug_string (enum copy_debug_val debug_val) } } -static const char * +static char const * copy_debug_sparse_string (enum copy_debug_val debug_val) { switch (debug_val)