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/set-fields.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/set-fields.c')
| -rw-r--r-- | src/set-fields.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set-fields.c b/src/set-fields.c index 322a92a48..320a16ba8 100644 --- a/src/set-fields.c +++ b/src/set-fields.c @@ -135,7 +135,7 @@ complement_rp (void) { .lo = UINTMAX_MAX, .hi = UINTMAX_MAX } ]; */ void -set_fields (const char *fieldstr, unsigned int options) +set_fields (char const *fieldstr, unsigned int options) { uintmax_t initial = 1; /* Value of first number in a range. */ uintmax_t value = 0; /* If nonzero, a number being accumulated. */ |
