summaryrefslogtreecommitdiff
path: root/src/chgrp.c
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/chgrp.c
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/chgrp.c')
-rw-r--r--src/chgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 84f829db2..dae8ebcd2 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -76,7 +76,7 @@ static struct option const long_options[] =
/* Return the group ID of NAME, or -1 if no name was specified. */
static gid_t
-parse_group (const char *name)
+parse_group (char const *name)
{
gid_t gid = -1;