From 930fa4a4383c1260c42a0b5ae7981c9b1471552d Mon Sep 17 00:00:00 2001 From: pst Date: Thu, 4 Sep 1997 22:38:59 +0000 Subject: The parameters to logwtmp should be const char's --- lib/libutil/logwtmp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libutil/logwtmp.c') diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c index c0357b2..de3c5d6 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; -- cgit v1.1