diff options
| author | Paul Traina <pst@FreeBSD.org> | 1997-09-04 22:38:59 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1997-09-04 22:38:59 +0000 |
| commit | 326df44eadf3d10ed0857f998270fbf5bc6bb7ef (patch) | |
| tree | b56d40ebb874a893c2cc12339a4173fcc35c4a14 | |
| parent | f48c26f1837055222962399d13ec5db19af67ae7 (diff) | |
Notes
| -rw-r--r-- | lib/libutil/libutil.h | 4 | ||||
| -rw-r--r-- | lib/libutil/logwtmp.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 62b308bdcb0f..8a962842aa71 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -18,7 +18,7 @@ * 5. Modifications may be freely made to this file providing the above * conditions are met. * - * $Id: libutil.h,v 1.11 1997/08/27 20:06:19 brian Exp $ + * $Id: libutil.h,v 1.12 1997/08/31 20:09:38 brian Exp $ */ #ifndef _LIBUTIL_H_ @@ -36,7 +36,7 @@ void setproctitle __P((const char *_fmt, ...)); void login __P((struct utmp *_ut)); int login_tty __P((int _fd)); int logout __P((char *_line)); -void logwtmp __P((char *_line, char *_name, char *_host)); +void logwtmp __P((const char *_line, const char *_name, const char *_host)); int openpty __P((int *_amaster, int *_aslave, char *_name, struct termios *_termp, struct winsize *_winp)); int forkpty __P((int *_amaster, char *_name, diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c index c0357b2ac850..de3c5d69d0c5 100644 --- a/lib/libutil/logwtmp.c +++ b/lib/libutil/logwtmp.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93"; #else static const char rcsid[] = - "$Id$"; + "$Id: logwtmp.c,v 1.4 1997/08/13 20:42:18 steve Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -55,7 +55,9 @@ static const char rcsid[] = void logwtmp(line, name, host) - char *line, *name, *host; + const char *line; + const char *name; + const char *host; { struct utmp ut; struct stat buf; |
