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 | 399d39681121c06e014dc7527c0932259fa55d13 (patch) | |
tree | c356b06e92ad2c28a06dacd05113f14c5651dd91 | |
parent | c87c3deb992f96ad94d3ce548ba8a61fe0e1bc26 (diff) | |
download | pw-darwin-399d39681121c06e014dc7527c0932259fa55d13.tar.gz pw-darwin-399d39681121c06e014dc7527c0932259fa55d13.tar.zst pw-darwin-399d39681121c06e014dc7527c0932259fa55d13.zip |
Constify the arg to logout(3). It is const-safe.
(cosmetic: drop some "register" qualifications too.)
-rw-r--r-- | libutil/libutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index 1bb4b9f..18fb83f 100644 --- a/libutil/libutil.h +++ b/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, |