From ef772bf97f7ec577754cbb5b278504d83cf41a43 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Sun, 11 Apr 2021 18:23:21 +0100 Subject: 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' --- src/users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.c') 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; -- cgit v1.2.3