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.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.c')
| -rw-r--r-- | src/cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -590,7 +590,7 @@ target_directory_operand (char const *file, struct stat *st, Return true if successful. */ static bool -do_copy (int n_files, char **file, const char *target_directory, +do_copy (int n_files, char **file, char const *target_directory, bool no_target_directory, struct cp_options *x) { struct stat sb; |
