summaryrefslogtreecommitdiffstats
path: root/libexec/fingerd
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-07-03 23:39:03 +0000
committerderaadt <deraadt@openbsd.org>2002-07-03 23:39:03 +0000
commit5b48e80ab416cbf732103aa6d9aa4017b887a947 (patch)
tree4b4762dbd0cfae871ad3d6c7d2f9eb4078097580 /libexec/fingerd
parentXr fixes; from PR 2794 (diff)
downloadwireguard-openbsd-5b48e80ab416cbf732103aa6d9aa4017b887a947.tar.xz
wireguard-openbsd-5b48e80ab416cbf732103aa6d9aa4017b887a947.zip
KNF
Diffstat (limited to 'libexec/fingerd')
-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;