-/* $NetBSD: misc.c,v 1.10 2002/05/26 00:12:13 wiz Exp $ */
+/* $NetBSD: misc.c,v 1.12 2009/05/25 23:24:54 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: misc.c,v 1.10 2002/05/26 00:12:13 wiz Exp $");
+__RCSID("$NetBSD: misc.c,v 1.12 2009/05/25 23:24:54 dholland Exp $");
#endif
#endif /* not lint */
}
CARD
-getcard()
+getcard(void)
{
int c, c1;
}
int
-check_ext(forcomp)
- bool forcomp;
+check_ext(bool forcomp)
{
* also allowed. Return TRUE if the answer was yes, FALSE if no.
*/
int
-getyn(promptno)
- int promptno;
+getyn(int promptno)
{
char c;
* it. Exit appropriately.
*/
void
-check_more()
+check_more(void)
{
On_exit = TRUE;
if (Player[PLAYER].total >= 5000 || Player[COMP].total >= 5000)
}
int
-readch()
+readch(void)
{
int cnt;
static char c;