-/* $NetBSD: main.c,v 1.18 2008/01/31 05:19:44 dholland Exp $ */
+/* $NetBSD: main.c,v 1.20 2009/08/12 04:48:03 dholland Exp $ */
/*-
* Copyright (c) 1990, 1993
#include <sys/cdefs.h>
#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1990, 1993\n\
- The Regents of the University of California. All rights reserved.\n");
+__COPYRIGHT("@(#) Copyright (c) 1990, 1993\
+ The Regents of the University of California. All rights reserved.");
#endif /* not lint */
#ifndef lint
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.18 2008/01/31 05:19:44 dholland Exp $");
+__RCSID("$NetBSD: main.c,v 1.20 2009/08/12 04:48:03 dholland Exp $");
#endif
#endif /* not lint */
extern FILE *yyin;
+static int read_file(const char *);
+static const char *default_game(void);
+static const char *okay_game(const char *);
+static int list_games(void);
+
int
main(int argc, char *argv[])
{
}
}
-int
+static int
read_file(const char *s)
{
int retval;
return (0);
}
-const char *
+static const char *
default_game(void)
{
FILE *fp;
return (file);
}
-const char *
+static const char *
okay_game(const char *s)
{
FILE *fp;
return (ret);
}
-int
+static int
list_games(void)
{
FILE *fp;