summaryrefslogtreecommitdiff
path: root/src/copy.h
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2021-04-11 18:23:21 +0100
committerPádraig Brady <P@draigBrady.com>2021-04-11 18:33:45 +0100
commitef772bf97f7ec577754cbb5b278504d83cf41a43 (patch)
treeb6553bdc35b4d08368d427dbb3bb790acf43129c /src/copy.h
parent34ed19eed8fe1e29372f19883c846f888fd79f0e (diff)
downloadcoreutils-ef772bf97f7ec577754cbb5b278504d83cf41a43.tar.gz
maint: use "char const *" rather than "const char *"
* cfg.mk (sc_prohibit-const-char): Add a new syntax-check to enforce this style. * *.[ch]: sed -i 's/const char \*/char const */g'
Diffstat (limited to 'src/copy.h')
-rw-r--r--src/copy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.h b/src/copy.h
index 7acb4908c..026530518 100644
--- a/src/copy.h
+++ b/src/copy.h
@@ -282,7 +282,7 @@ struct cp_options
on systems with a rename function that fails for a source file name
specified with a trailing slash. */
# if RENAME_TRAILING_SLASH_BUG
-int rpl_rename (const char *, const char *);
+int rpl_rename (char const *, char const *);
# undef rename
# define rename rpl_rename
# endif