summaryrefslogtreecommitdiff
path: root/libexec/fingerd/fingerd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-03 23:39:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-03 23:39:04 +0000
commit0a7f78ce521b8f2d0e02c39b1c663995d877822b (patch)
tree1dc5216cd561882eeca12ddf49b3a0bf4fabd450 /libexec/fingerd/fingerd.c
parent6ca26ba93eb2abc4cb49a04978cae62171cb4523 (diff)
KNF
Diffstat (limited to 'libexec/fingerd/fingerd.c')
-rw-r--r--libexec/fingerd/fingerd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libexec/fingerd/fingerd.c b/libexec/fingerd/fingerd.c
index 291542bd77a..168bafb2384 100644
--- a/libexec/fingerd/fingerd.c
+++ b/libexec/fingerd/fingerd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fingerd.c,v 1.27 2002/06/02 01:27:15 deraadt Exp $ */
+/* $OpenBSD: fingerd.c,v 1.28 2002/07/03 23:39:03 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "from: @(#)fingerd.c 8.1 (Berkeley) 6/4/93";
#else
-static char rcsid[] = "$OpenBSD: fingerd.c,v 1.27 2002/06/02 01:27:15 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: fingerd.c,v 1.28 2002/07/03 23:39:03 deraadt Exp $";
#endif
#endif /* not lint */
@@ -66,7 +66,7 @@ void err(const char *, ...);
void usage(void);
void
-usage()
+usage(void)
{
syslog(LOG_ERR,
"usage: fingerd [-slumMpS] [-P filename]");
@@ -75,9 +75,7 @@ usage()
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
FILE *fp;
int ch, ac = 2;