summaryrefslogtreecommitdiffstats
path: root/games/mille/print.c
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-11-16 02:58:06 +0000
committerbillf <billf@FreeBSD.org>1999-11-16 02:58:06 +0000
commit44fac3a89d25ca434f91c4f961a363ea590faae8 (patch)
treea0cca4d47c73890ff2acd4b0d9331509ac360eb2 /games/mille/print.c
parentecc8d489403ddff78c214db39def15049d5dae6a (diff)
downloadFreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.zip
FreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.tar.gz
Sync our register usage with NetBSD's (non-)usage.
Diffstat (limited to 'games/mille/print.c')
-rw-r--r--games/mille/print.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/games/mille/print.c b/games/mille/print.c
index 72a97a4..9a227bc 100644
--- a/games/mille/print.c
+++ b/games/mille/print.c
@@ -48,8 +48,8 @@ static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 5/31/93";
prboard() {
- reg PLAY *pp;
- reg int i, j, k, temp;
+ PLAY *pp;
+ int i, j, k, temp;
for (k = 0; k < 2; k++) {
pp = &Player[k];
@@ -64,8 +64,8 @@ prboard() {
show_card(14, temp, pp->battle, &pp->sh_battle);
show_card(16, temp, pp->speed, &pp->sh_speed);
for (i = C_25; i <= C_200; i++) {
- reg char *name;
- reg int end;
+ char *name;
+ int end;
if (pp->nummiles[i] == pp->sh_nummiles[i])
continue;
@@ -102,7 +102,7 @@ prboard() {
*/
show_card(y, x, c, lc)
int y, x;
-register CARD c, *lc;
+CARD c, *lc;
{
if (c == *lc)
return;
@@ -114,10 +114,10 @@ register CARD c, *lc;
static char Score_fmt[] = "%4d";
prscore(for_real)
-reg bool for_real; {
+bool for_real; {
- reg PLAY *pp;
- reg int x;
+ PLAY *pp;
+ int x;
stdscr = Score;
for (pp = Player; pp < &Player[2]; pp++) {
@@ -161,7 +161,7 @@ reg bool for_real; {
*/
show_score(y, x, s, ls)
int y, x;
-register int s, *ls;
+int s, *ls;
{
if (s == *ls)
return;
OpenPOWER on IntegriCloud