summaryrefslogtreecommitdiffstats
path: root/hangman/getguess.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2012-06-19 05:45:00 +0000
committerdholland <dholland@NetBSD.org>2012-06-19 05:45:00 +0000
commit4cb1100e13371f1523900523aba506ae1c62e44c (patch)
tree31a3dc4d964c1ea7cc444eca686b8c28afa0dae3 /hangman/getguess.c
parent60030fd11e6c646dbc35c5254b2520d5af45288f (diff)
downloadbsdgames-darwin-4cb1100e13371f1523900523aba506ae1c62e44c.tar.gz
bsdgames-darwin-4cb1100e13371f1523900523aba506ae1c62e44c.tar.zst
bsdgames-darwin-4cb1100e13371f1523900523aba506ae1c62e44c.zip
WARNS=5
Diffstat (limited to 'hangman/getguess.c')
-rw-r--r--hangman/getguess.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hangman/getguess.c b/hangman/getguess.c
index 0dbac3b3..691c60e4 100644
--- a/hangman/getguess.c
+++ b/hangman/getguess.c
@@ -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;