summaryrefslogtreecommitdiff
path: root/usr.bin/finger/finger.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
commitb8aaa8bec8414f8e55cf9b61fe0873d242c773b8 (patch)
tree5e43016c4fae834239fd38972fd58355ed6b54b5 /usr.bin/finger/finger.c
parentf18f6607440f6d2da08fac3522d88a65c77a5f3e (diff)
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/finger/finger.c')
-rw-r--r--usr.bin/finger/finger.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c
index 978b4732175..66f100afa1b 100644
--- a/usr.bin/finger/finger.c
+++ b/usr.bin/finger/finger.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: finger.c,v 1.13 2003/06/03 02:56:08 millert Exp $ */
+/* $OpenBSD: finger.c,v 1.14 2003/06/10 22:20:46 deraadt Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -50,7 +50,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)finger.c 5.22 (Berkeley) 6/29/90";*/
-static char rcsid[] = "$OpenBSD: finger.c,v 1.13 2003/06/03 02:56:08 millert Exp $";
+static char rcsid[] = "$OpenBSD: finger.c,v 1.14 2003/06/10 22:20:46 deraadt Exp $";
#endif /* not lint */
/*
@@ -84,9 +84,7 @@ int entries, lflag, sflag, mflag, oflag, pplan, Mflag;
char tbuf[1024];
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char *argv[])
{
extern int optind;
extern char *__progname;
@@ -170,7 +168,7 @@ main(argc, argv)
}
void
-loginlist()
+loginlist(void)
{
PERSON *pn;
struct passwd *pw;
@@ -196,9 +194,7 @@ loginlist()
}
void
-userlist(argc, argv)
- int argc;
- char **argv;
+userlist(int argc, char **argv)
{
int i;
PERSON *pn;