diff options
| author | Pádraig Brady <P@draigBrady.com> | 2021-04-11 18:23:21 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2021-04-11 18:33:45 +0100 |
| commit | ef772bf97f7ec577754cbb5b278504d83cf41a43 (patch) | |
| tree | b6553bdc35b4d08368d427dbb3bb790acf43129c /src/cp-hash.c | |
| parent | ls: cache name width determination (diff) | |
| download | coreutils-ef772bf97f7ec577754cbb5b278504d83cf41a43.tar.gz coreutils-ef772bf97f7ec577754cbb5b278504d83cf41a43.zip | |
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/cp-hash.c')
| -rw-r--r-- | src/cp-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cp-hash.c b/src/cp-hash.c index e1ee964bf..423fcda23 100644 --- a/src/cp-hash.c +++ b/src/cp-hash.c @@ -112,7 +112,7 @@ src_to_dest_lookup (ino_t ino, dev_t dev) Return NULL if inserted, otherwise non-NULL. */ extern char * -remember_copied (const char *name, ino_t ino, dev_t dev) +remember_copied (char const *name, ino_t ino, dev_t dev) { struct Src_to_dest *ent; struct Src_to_dest *ent_from_table; |
