diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-28 07:03:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-05-28 07:03:49 +0000 |
commit | 427354c6146786ff2e7c23b0c93956082f11ff1a (patch) | |
tree | ad57db6efba96333cee3c6690cbb5a6a93d0ddb2 /lib/libutil/logout.c | |
parent | 1d2f6cbd395fd634542591dd7388b0ab48c7e5c8 (diff) |
knf; otto ok
Diffstat (limited to 'lib/libutil/logout.c')
-rw-r--r-- | lib/libutil/logout.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libutil/logout.c b/lib/libutil/logout.c index 80caea10175..e882c1f4bc3 100644 --- a/lib/libutil/logout.c +++ b/lib/libutil/logout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logout.c,v 1.6 2003/06/02 20:18:42 millert Exp $ */ +/* $OpenBSD: logout.c,v 1.7 2004/05/28 07:03:47 deraadt Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -30,7 +30,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /* from: static char sccsid[] = "@(#)logout.c 8.1 (Berkeley) 6/4/93"; */ -static const char rcsid[] = "$Id: logout.c,v 1.6 2003/06/02 20:18:42 millert Exp $"; +static const char rcsid[] = "$Id: logout.c,v 1.7 2004/05/28 07:03:47 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -47,8 +47,7 @@ static const char rcsid[] = "$Id: logout.c,v 1.6 2003/06/02 20:18:42 millert Exp typedef struct utmp UTMP; int -logout(line) - const char *line; +logout(const char *line) { int fd, rval; UTMP ut; |