summaryrefslogtreecommitdiff
path: root/games/mille/print.c
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2016-01-08 18:10:00 +0000
committermestre <mestre@cvs.openbsd.org>2016-01-08 18:10:00 +0000
commit704472b9f9f880d9c96680114efb47ef24cc31ef (patch)
tree9ace09bf5c16d2b4c883444a6a60cdc7ea5402b1 /games/mille/print.c
parenta1c684411021240c85b7240610f50b00fe9653e7 (diff)
ANSIfy mille(6)
OK tb@
Diffstat (limited to 'games/mille/print.c')
-rw-r--r--games/mille/print.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/games/mille/print.c b/games/mille/print.c
index 1400e423ddc..f5341f6e4dc 100644
--- a/games/mille/print.c
+++ b/games/mille/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.8 2016/01/08 18:05:58 mestre Exp $ */
+/* $OpenBSD: print.c,v 1.9 2016/01/08 18:09:59 mestre Exp $ */
/* $NetBSD: print.c,v 1.4 1995/03/24 05:02:02 cgd Exp $ */
/*
@@ -40,7 +40,7 @@
# define CARD_STRT 2
void
-prboard()
+prboard(void)
{
PLAY *pp;
int i, j, k, temp;
@@ -95,9 +95,7 @@ prboard()
* Show the given card if it is different from the last one shown
*/
void
-show_card(y, x, c, lc)
- int y, x;
- CARD c, *lc;
+show_card(int y, int x, CARD c, CARD *lc)
{
if (c == *lc)
return;
@@ -109,8 +107,7 @@ show_card(y, x, c, lc)
static char Score_fmt[] = "%4d";
void
-prscore(for_real)
- bool for_real;
+prscore(bool for_real)
{
PLAY *pp;
int x;
@@ -156,9 +153,7 @@ prscore(for_real)
* showed it.
*/
void
-show_score(y, x, s, ls)
- int y, x;
- int s, *ls;
+show_score(int y, int x, int s, int *ls)
{
if (s == *ls)
return;