From 8cfadb8904cd32b3a76ec44bb7bf6a26f362a831 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 4 Sep 2000 08:13:49 +0000 Subject: Constify the arg to logout(3). It is const-safe. (cosmetic: drop some "register" qualifications too.) --- lib/libutil/logout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libutil/logout.c') diff --git a/lib/libutil/logout.c b/lib/libutil/logout.c index 5b9a821b60d2..c0bd85983f16 100644 --- a/lib/libutil/logout.c +++ b/lib/libutil/logout.c @@ -54,9 +54,9 @@ typedef struct utmp UTMP; int logout(line) - register char *line; + const char *line; { - register int fd; + int fd; UTMP ut; int rval; -- cgit v1.2.3