diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-29 06:42:21 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-11-29 06:42:21 +0000 |
commit | 5088359990d1a2115627a75174eeaf8b0ee62c9d (patch) | |
tree | 5fe74413fd4f7ace5b84115db77ac3fc1c490b38 /games/cribbage/io.c | |
parent | ec3f18f89c9276f3b7970964d1b354cc80e66a93 (diff) |
Kill BOOLEAN, just use the curses/c++ bool type instead.
Diffstat (limited to 'games/cribbage/io.c')
-rw-r--r-- | games/cribbage/io.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/cribbage/io.c b/games/cribbage/io.c index 6e90d5db46d..765624b3b0e 100644 --- a/games/cribbage/io.c +++ b/games/cribbage/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.4 1998/08/19 07:40:22 pjanzen Exp $ */ +/* $OpenBSD: io.c,v 1.5 1999/11/29 06:42:20 millert Exp $ */ /* $NetBSD: io.c,v 1.9 1997/07/09 06:25:47 phil Exp $ */ /*- @@ -89,7 +89,7 @@ char *suitchar[SUITS] = {"S", "H", "D", "C"}; int msgcard(c, brief) CARD c; - BOOLEAN brief; + bool brief; { if (brief) return (msgcrd(c, TRUE, NULL, TRUE)); @@ -104,7 +104,7 @@ msgcard(c, brief) int msgcrd(c, brfrank, mid, brfsuit) CARD c; - BOOLEAN brfrank, brfsuit; + bool brfrank, brfsuit; char *mid; { if (c.rank == EMPTY || c.suit == EMPTY) @@ -131,7 +131,7 @@ printcard(win, cardno, c, blank) WINDOW *win; int cardno; CARD c; - BOOLEAN blank; + bool blank; { prcard(win, cardno * 2, cardno, c, blank); } @@ -145,7 +145,7 @@ prcard(win, y, x, c, blank) WINDOW *win; int y, x; CARD c; - BOOLEAN blank; + bool blank; { if (c.rank == EMPTY) return; @@ -172,7 +172,7 @@ prhand(h, n, win, blank) CARD h[]; int n; WINDOW *win; - BOOLEAN blank; + bool blank; { int i; @@ -250,7 +250,7 @@ incard(crd) int i; int rnk, sut; char *line, *p, *p1; - BOOLEAN retval; + bool retval; retval = FALSE; rnk = sut = EMPTY; |