diff options
author | peter <peter@FreeBSD.org> | 2000-09-04 08:13:49 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-09-04 08:13:49 +0000 |
commit | 6592e5f7bb44d7396d8b1767ee376fec8c9d7e9c (patch) | |
tree | 216650820b5db1dd2bbee2177820411c6459e6f7 /lib/libutil/logout.c | |
parent | cb0cf9cc9239f7ed9fcd08f18c5142ef7ccd0c7a (diff) | |
download | FreeBSD-src-6592e5f7bb44d7396d8b1767ee376fec8c9d7e9c.zip FreeBSD-src-6592e5f7bb44d7396d8b1767ee376fec8c9d7e9c.tar.gz |
Constify the arg to logout(3). It is const-safe.
(cosmetic: drop some "register" qualifications too.)
Diffstat (limited to 'lib/libutil/logout.c')
-rw-r--r-- | lib/libutil/logout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/logout.c b/lib/libutil/logout.c index 5b9a821..c0bd859 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; |