summaryrefslogtreecommitdiffstats
path: root/canfield/cfscores
diff options
context:
space:
mode:
authorjmc <jmc@NetBSD.org>2005-07-01 16:50:55 +0000
committerjmc <jmc@NetBSD.org>2005-07-01 16:50:55 +0000
commit0051b2acd6aecc721718b48d3670347c4db02d1e (patch)
tree6539ac12e8d93ac8f2d5b7aa577be9703baba6f9 /canfield/cfscores
parent788e63c4030f445936903fa008cacb72fc845953 (diff)
downloadbsdgames-darwin-0051b2acd6aecc721718b48d3670347c4db02d1e.tar.gz
bsdgames-darwin-0051b2acd6aecc721718b48d3670347c4db02d1e.tar.zst
bsdgames-darwin-0051b2acd6aecc721718b48d3670347c4db02d1e.zip
KNF and WARNS=3
Diffstat (limited to 'canfield/cfscores')
-rw-r--r--canfield/cfscores/cfscores.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/canfield/cfscores/cfscores.c b/canfield/cfscores/cfscores.c
index aa9afa0b..0e8bdff7 100644
--- a/canfield/cfscores/cfscores.c
+++ b/canfield/cfscores/cfscores.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cfscores.c,v 1.12 2004/01/27 20:30:29 jsm Exp $ */
+/* $NetBSD: cfscores.c,v 1.13 2005/07/01 16:50:55 jmc Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)cfscores.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: cfscores.c,v 1.12 2004/01/27 20:30:29 jsm Exp $");
+__RCSID("$NetBSD: cfscores.c,v 1.13 2005/07/01 16:50:55 jmc Exp $");
#endif
#endif /* not lint */
@@ -66,13 +66,10 @@ struct betinfo {
int dbfd;
-int main(int, char *[]);
void printuser(const struct passwd *, int);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
struct passwd *pw;
int uid;
@@ -116,9 +113,7 @@ main(argc, argv)
* print out info for specified password entry
*/
void
-printuser(pw, printfail)
- const struct passwd *pw;
- int printfail;
+printuser(const struct passwd *pw, int printfail)
{
struct betinfo total;
int i;