summaryrefslogtreecommitdiffstats
path: root/games/canfield/cfscores/cfscores.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/canfield/cfscores/cfscores.c')
-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