summaryrefslogtreecommitdiffstats
path: root/cribbage
diff options
context:
space:
mode:
Diffstat (limited to 'cribbage')
-rw-r--r--cribbage/cards.c8
-rw-r--r--cribbage/cribbage.h4
-rw-r--r--cribbage/io.c8
3 files changed, 10 insertions, 10 deletions
diff --git a/cribbage/cards.c b/cribbage/cards.c
index c4d2610f..29eed58c 100644
--- a/cribbage/cards.c
+++ b/cribbage/cards.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cards.c,v 1.5 1999/09/08 21:17:47 jsm Exp $ */
+/* $NetBSD: cards.c,v 1.6 1999/09/30 18:01:32 jsm Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)cards.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: cards.c,v 1.5 1999/09/08 21:17:47 jsm Exp $");
+__RCSID("$NetBSD: cards.c,v 1.6 1999/09/30 18:01:32 jsm Exp $");
#endif
#endif /* not lint */
@@ -101,10 +101,10 @@ eq(a, b)
}
/*
- * isone returns TRUE if a is in the set of cards b
+ * is_one returns TRUE if a is in the set of cards b
*/
int
-isone(a, b, n)
+is_one(a, b, n)
CARD a;
const CARD b[];
int n;
diff --git a/cribbage/cribbage.h b/cribbage/cribbage.h
index 844bcf4a..963242b7 100644
--- a/cribbage/cribbage.h
+++ b/cribbage/cribbage.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cribbage.h,v 1.6 1999/09/10 00:03:14 jsm Exp $ */
+/* $NetBSD: cribbage.h,v 1.7 1999/09/30 18:01:32 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -85,7 +85,7 @@ int getuchar __P((void));
int incard __P((CARD *));
int infrom __P((const CARD [], int, const char *));
void instructions __P((void));
-int isone __P((CARD, const CARD [], int));
+int is_one __P((CARD, const CARD [], int));
void makeboard __P((void));
void makedeck __P((CARD []));
void makeknown __P((const CARD [], int));
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);