diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-09-04 08:13:49 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-09-04 08:13:49 +0000 |
commit | 8cfadb8904cd32b3a76ec44bb7bf6a26f362a831 (patch) | |
tree | 62dfeac4e7ad4e70d8704be2b83fcdc94a3be41a | |
parent | b70158bae13c782b2546d0fd6706af4da07a6f39 (diff) |
Notes
-rw-r--r-- | lib/libutil/libutil.h | 2 | ||||
-rw-r--r-- | lib/libutil/logout.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 1bb4b9fd56492..18fb83ff98cf5 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -47,7 +47,7 @@ struct in_addr; __BEGIN_DECLS void login __P((struct utmp *_ut)); int login_tty __P((int _fd)); -int logout __P((char *_line)); +int logout __P((const char *_line)); void logwtmp __P((const char *_line, const char *_name, const char *_host)); void trimdomain __P((char *_fullhost, int _hostsize)); int openpty __P((int *_amaster, int *_aslave, char *_name, diff --git a/lib/libutil/logout.c b/lib/libutil/logout.c index 5b9a821b60d2b..c0bd85983f16b 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; |