This commit is contained in:
dholland 2012-06-19 05:45:00 +00:00
parent c34afa686b
commit ccbf74de27
9 changed files with 29 additions and 32 deletions

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -45,7 +45,7 @@ __RCSID("$NetBSD: endgame.c,v 1.5 2003/08/07 09:37:20 agc Exp $");
* Do what's necessary at the end of the game
*/
void
endgame()
endgame(void)
{
char ch;

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -46,7 +46,7 @@ __RCSID("$NetBSD: getguess.c,v 1.8 2003/08/07 09:37:21 agc Exp $");
* Get another guess
*/
void
getguess()
getguess(void)
{
int i;
int ch;
@ -91,7 +91,7 @@ getguess()
* Read a character from the input
*/
int
readch()
readch(void)
{
int cnt;
char ch;

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -45,7 +45,7 @@ __RCSID("$NetBSD: getword.c,v 1.9 2004/11/05 21:30:32 dsl Exp $");
* Get a valid word out of the dictionary file
*/
void
getword()
getword(void)
{
FILE *inf;
char *wp, *gp;

View File

@ -1,4 +1,4 @@
/* $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
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) 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 */
@ -50,9 +50,7 @@ __RCSID("$NetBSD: main.c,v 1.14 2008/08/08 16:10:47 drochner Exp $");
* This game written by Ken Arnold.
*/
int
main(argc, argv)
int argc;
char *argv[];
main(int argc, char *argv[])
{
int ch;
@ -92,8 +90,7 @@ main(argc, argv)
* Die properly.
*/
void
die(dummy)
int dummy __unused;
die(int dummy __unused)
{
mvcur(0, COLS - 1, LINES - 1, 0);
endwin();

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -45,7 +45,7 @@ __RCSID("$NetBSD: playgame.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
* play a game
*/
void
playgame()
playgame(void)
{
bool *bp;

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -45,7 +45,7 @@ __RCSID("$NetBSD: prdata.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
* Print out the current guesses
*/
void
prdata()
prdata(void)
{
bool *bp;

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -46,7 +46,7 @@ __RCSID("$NetBSD: prman.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
* of incorrect guesses.
*/
void
prman()
prman(void)
{
int i;

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -45,7 +45,7 @@ __RCSID("$NetBSD: prword.c,v 1.5 2003/08/07 09:37:22 agc Exp $");
* Print out the current state of the word
*/
void
prword()
prword(void)
{
move(KNOWNY, KNOWNX + sizeof "Word: ");
addstr(Known);

View File

@ -1,4 +1,4 @@
/* $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
@ -34,7 +34,7 @@
#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 */
@ -47,7 +47,7 @@ __RCSID("$NetBSD: setup.c,v 1.10 2003/08/07 09:37:22 agc Exp $");
* Set up the strings on the screen.
*/
void
setup()
setup(void)
{
const char *const *sp;
static struct stat sbuf;