From 399d39681121c06e014dc7527c0932259fa55d13 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.) --- libutil/libutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libutil') 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, -- cgit v1.2.3-56-ge451