From 18811574a2fa617b1a814709ee1872e01819ccdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Fri, 30 Jan 2026 14:12:12 +0000 Subject: [PATCH] maint: avoid prohibit-const-char syntax check failure * src/copy.c: Avoid prohibit-const-char failure, newly triggered by the (correct) recent adjustment. --- src/copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.3