summaryrefslogtreecommitdiffstats
path: root/games/canfield/cfscores
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-12-12 07:25:14 +0000
committerbillf <billf@FreeBSD.org>1999-12-12 07:25:14 +0000
commit0a56ed85f08c1b3f01c2ef365e7b3513b10c0c27 (patch)
tree4fe1790f277fa5b8e415a53b508ade9b440461cf /games/canfield/cfscores
parent08e8d78b501bf7a046c5972d20a883d62ec5456b (diff)
downloadFreeBSD-src-0a56ed85f08c1b3f01c2ef365e7b3513b10c0c27.zip
FreeBSD-src-0a56ed85f08c1b3f01c2ef365e7b3513b10c0c27.tar.gz
-Wall fixes.
Diffstat (limited to 'games/canfield/cfscores')
-rw-r--r--games/canfield/cfscores/cfscores.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c
index ce51437..8fd93b2 100644
--- a/games/canfield/cfscores/cfscores.c
+++ b/games/canfield/cfscores/cfscores.c
@@ -49,6 +49,7 @@ static const char rcsid[] =
#include <pwd.h>
#include <fcntl.h>
#include <unistd.h>
+#include <stdio.h>
#include "pathnames.h"
struct betinfo {
@@ -64,6 +65,9 @@ struct betinfo {
int dbfd;
+void printuser __P((struct passwd *, int));
+
+int
main(argc, argv)
int argc;
char *argv[];
@@ -109,6 +113,7 @@ main(argc, argv)
/*
* print out info for specified password entry
*/
+void
printuser(pw, printfail)
struct passwd *pw;
int printfail;
OpenPOWER on IntegriCloud