]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: avoid prohibit-const-char syntax check failure
authorPádraig Brady <P@draigBrady.com>
Fri, 30 Jan 2026 14:12:12 +0000 (14:12 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 30 Jan 2026 14:12:12 +0000 (14:12 +0000)
* src/copy.c: Avoid prohibit-const-char failure,
newly triggered by the (correct) recent adjustment.

src/copy.c

index c76f936fd5ecbdf1ef7c8fd4f19d04dff61a0bdb..a53fb8f8c155c533a755413fa48b78941e4b833e 100644 (file)
@@ -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)