summaryrefslogtreecommitdiff
path: root/src/relpath.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/relpath.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/relpath.h')
-rw-r--r--src/relpath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/relpath.h b/src/relpath.h
index 0a1080ddc..05645cd39 100644
--- a/src/relpath.h
+++ b/src/relpath.h
@@ -20,6 +20,6 @@
# define _RELPATH_H
extern bool
-relpath (const char *can_fname, const char *can_reldir, char *buf, size_t len);
+relpath (char const *can_fname, char const *can_reldir, char *buf, size_t len);
#endif