summaryrefslogtreecommitdiff
path: root/libexec/ftpd/logwtmp.c
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2000-05-20 02:20:18 +0000
committerlukem <lukem@NetBSD.org>2000-05-20 02:20:18 +0000
commitdcc88422addbd693cfd4e7c611644f8f534f8d42 (patch)
treead83551db051c146992e5661822a23327cc2d3b7 /libexec/ftpd/logwtmp.c
parente55cd9cb854f98c6f463443108518d74902fda86 (diff)
convert to ANSI C as per style guide
Diffstat (limited to 'libexec/ftpd/logwtmp.c')
-rw-r--r--libexec/ftpd/logwtmp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/ftpd/logwtmp.c b/libexec/ftpd/logwtmp.c
index 5e99ce99f9a..1d9c95b1c47 100644
--- a/libexec/ftpd/logwtmp.c
+++ b/libexec/ftpd/logwtmp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: logwtmp.c,v 1.14 2000/03/05 06:12:19 lukem Exp $ */
+/* $NetBSD: logwtmp.c,v 1.15 2000/05/20 02:20:19 lukem Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: logwtmp.c,v 1.14 2000/03/05 06:12:19 lukem Exp $");
+__RCSID("$NetBSD: logwtmp.c,v 1.15 2000/05/20 02:20:19 lukem Exp $");
#endif
#endif /* not lint */
@@ -72,8 +72,7 @@ static int fd = -1;
* after login, but before logout).
*/
void
-logwtmp(line, name, host)
- const char *line, *name, *host;
+logwtmp(const char *line, const char *name, const char *host)
{
struct utmp ut;
struct stat buf;