summaryrefslogtreecommitdiffstats
path: root/cribbage/io.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>1999-09-30 18:01:31 +0000
committerjsm <jsm@NetBSD.org>1999-09-30 18:01:31 +0000
commit963f40fabfbfc47378585a05f5b465cbd4e0c7b6 (patch)
tree7d2ead721965b1afb7d25682629c2f61932820fc /cribbage/io.c
parente2f2d09292b8ac5c5390ab1b7e6fa09ab554080f (diff)
downloadbsdgames-darwin-963f40fabfbfc47378585a05f5b465cbd4e0c7b6.tar.gz
bsdgames-darwin-963f40fabfbfc47378585a05f5b465cbd4e0c7b6.tar.zst
bsdgames-darwin-963f40fabfbfc47378585a05f5b465cbd4e0c7b6.zip
Fix uses of namespaces reserved by ISO C or POSIX.1.
Diffstat (limited to 'cribbage/io.c')
-rw-r--r--cribbage/io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cribbage/io.c b/cribbage/io.c
index ef0740bf..dc61c253 100644
--- a/cribbage/io.c
+++ b/cribbage/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.13 1999/09/18 19:38:48 jsm Exp $ */
+/* $NetBSD: io.c,v 1.14 1999/09/30 18:01:32 jsm Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: io.c,v 1.13 1999/09/18 19:38:48 jsm Exp $");
+__RCSID("$NetBSD: io.c,v 1.14 1999/09/30 18:01:32 jsm Exp $");
#endif
#endif /* not lint */
@@ -203,7 +203,7 @@ infrom(hand, n, prompt)
for (;;) {
msg(prompt);
if (incard(&crd)) { /* if card is full card */
- if (!isone(crd, hand, n))
+ if (!is_one(crd, hand, n))
msg("That's not in your hand");
else {
for (i = 0; i < n; i++)
@@ -211,7 +211,7 @@ infrom(hand, n, prompt)
hand[i].suit == crd.suit)
break;
if (i >= n) {
- printf("\nINFROM: isone or something messed up\n");
+ printf("\nINFROM: is_one or something messed up\n");
exit(77);
}
return (i);