aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.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/users.c
parentls: cache name width determination (diff)
downloadcoreutils-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/users.c')
-rw-r--r--src/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.c b/src/users.c
index b7d656211..e08aeaf37 100644
--- a/src/users.c
+++ b/src/users.c
@@ -82,7 +82,7 @@ list_entries_users (size_t n, const STRUCT_UTMP *this)
Use read_utmp OPTIONS to read FILENAME. */
static void
-users (const char *filename, int options)
+users (char const *filename, int options)
{
size_t n_users;
STRUCT_UTMP *utmp_buf;