diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 2000-09-20 09:53:24 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 2000-09-20 09:53:24 +0000 |
| commit | 888fea22a5f797ea98f7c73101228bd376ebb90a (patch) | |
| tree | 5cb66cb0c53603bf4f0a08af5408892e9c186ca1 /lib/libutil | |
| parent | be014011f14b6f35920f0ba52101b1c11a74b1a2 (diff) | |
Notes
Diffstat (limited to 'lib/libutil')
| -rw-r--r-- | lib/libutil/libutil.h | 2 | ||||
| -rw-r--r-- | lib/libutil/login.conf.5 | 1 | ||||
| -rw-r--r-- | lib/libutil/logout.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 1bb4b9fd5649..18fb83ff98cf 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/login.conf.5 b/lib/libutil/login.conf.5 index 434a3478c51a..cd1f65e79bd0 100644 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -362,6 +362,7 @@ and .Em host.exempt lists. .Sh SEE ALSO +.Xr cap_mkdb 1 , .Xr login 1 , .Xr getcap 3 , .Xr getttyent 3 , diff --git a/lib/libutil/logout.c b/lib/libutil/logout.c index 5b9a821b60d2..6aa62bf6f4d4 100644 --- a/lib/libutil/logout.c +++ b/lib/libutil/logout.c @@ -54,7 +54,7 @@ typedef struct utmp UTMP; int logout(line) - register char *line; + const char *line; { register int fd; UTMP ut; |
