-/* $NetBSD: endgame.c,v 1.5 2003/08/07 09:37:20 agc Exp $ */
+/* $NetBSD: endgame.c,v 1.6 2012/06/19 05:45:00 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)endgame.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: endgame.c,v 1.5 2003/08/07 09:37:20 agc Exp $");
+__RCSID("$NetBSD: endgame.c,v 1.6 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* Do what's necessary at the end of the game
*/
void
-endgame()
+endgame(void)
{
char ch;
-/* $NetBSD: getguess.c,v 1.8 2003/08/07 09:37:21 agc Exp $ */
+/* $NetBSD: getguess.c,v 1.9 2012/06/19 05:45:00 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)getguess.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: getguess.c,v 1.8 2003/08/07 09:37:21 agc Exp $");
+__RCSID("$NetBSD: getguess.c,v 1.9 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* Get another guess
*/
void
-getguess()
+getguess(void)
{
int i;
int ch;
* Read a character from the input
*/
int
-readch()
+readch(void)
{
int cnt;
char ch;
-/* $NetBSD: getword.c,v 1.9 2004/11/05 21:30:32 dsl Exp $ */
+/* $NetBSD: getword.c,v 1.10 2012/06/19 05:45:00 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)getword.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: getword.c,v 1.9 2004/11/05 21:30:32 dsl Exp $");
+__RCSID("$NetBSD: getword.c,v 1.10 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* Get a valid word out of the dictionary file
*/
void
-getword()
+getword(void)
{
FILE *inf;
char *wp, *gp;
-/* $NetBSD: main.c,v 1.14 2008/08/08 16:10:47 drochner Exp $ */
+/* $NetBSD: main.c,v 1.15 2012/06/19 05:45:00 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.14 2008/08/08 16:10:47 drochner Exp $");
+__RCSID("$NetBSD: main.c,v 1.15 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* This game written by Ken Arnold.
*/
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
int ch;
* Die properly.
*/
void
-die(dummy)
- int dummy __unused;
+die(int dummy __unused)
{
mvcur(0, COLS - 1, LINES - 1, 0);
endwin();
-/* $NetBSD: playgame.c,v 1.5 2003/08/07 09:37:22 agc Exp $ */
+/* $NetBSD: playgame.c,v 1.6 2012/06/19 05:45:00 dholland Exp $ */
/*-
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)playgame.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: playgame.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
+__RCSID("$NetBSD: playgame.c,v 1.6 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* play a game
*/
void
-playgame()
+playgame(void)
{
bool *bp;
-/* $NetBSD: prdata.c,v 1.5 2003/08/07 09:37:22 agc Exp $ */
+/* $NetBSD: prdata.c,v 1.6 2012/06/19 05:45:00 dholland Exp $ */
/*-
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)prdata.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: prdata.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
+__RCSID("$NetBSD: prdata.c,v 1.6 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* Print out the current guesses
*/
void
-prdata()
+prdata(void)
{
bool *bp;
-/* $NetBSD: prman.c,v 1.5 2003/08/07 09:37:22 agc Exp $ */
+/* $NetBSD: prman.c,v 1.6 2012/06/19 05:45:00 dholland Exp $ */
/*-
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)prman.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: prman.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
+__RCSID("$NetBSD: prman.c,v 1.6 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* of incorrect guesses.
*/
void
-prman()
+prman(void)
{
int i;
-/* $NetBSD: prword.c,v 1.5 2003/08/07 09:37:22 agc Exp $ */
+/* $NetBSD: prword.c,v 1.6 2012/06/19 05:45:00 dholland Exp $ */
/*-
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)prword.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: prword.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
+__RCSID("$NetBSD: prword.c,v 1.6 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* Print out the current state of the word
*/
void
-prword()
+prword(void)
{
move(KNOWNY, KNOWNX + sizeof "Word: ");
addstr(Known);
-/* $NetBSD: setup.c,v 1.10 2003/08/07 09:37:22 agc Exp $ */
+/* $NetBSD: setup.c,v 1.11 2012/06/19 05:45:00 dholland Exp $ */
/*-
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: setup.c,v 1.10 2003/08/07 09:37:22 agc Exp $");
+__RCSID("$NetBSD: setup.c,v 1.11 2012/06/19 05:45:00 dholland Exp $");
#endif
#endif /* not lint */
* Set up the strings on the screen.
*/
void
-setup()
+setup(void)
{
const char *const *sp;
static struct stat sbuf;