From 727bf60729b6e2f693b3a1162a2f4b32e49bf8bd Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Tue, 16 Nov 1999 02:58:06 +0000 Subject: Sync our register usage with NetBSD's (non-)usage. --- games/bs/bs.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'games/bs') diff --git a/games/bs/bs.c b/games/bs/bs.c index 216bc0cc6e29..76133066357f 100644 --- a/games/bs/bs.c +++ b/games/bs/bs.c @@ -306,8 +306,8 @@ static void randomplace(b, ss) int b; ship_t *ss; { - register int bwidth = BWIDTH - ss->length; - register int bdepth = BDEPTH - ss->length; + int bwidth = BWIDTH - ss->length; + int bdepth = BDEPTH - ss->length; do { ss->y = rnd(bdepth); @@ -702,7 +702,7 @@ static int awinna() } static ship_t *hitship(x, y) -/* register a hit on the targeted ship */ +/* a hit on the targeted ship */ int x, y; { ship_t *sb, *ss; @@ -1113,7 +1113,7 @@ static void do_options(c,op) int c; char *op[]; { - register int i; + int i; if (c > 1) { @@ -1167,8 +1167,8 @@ char *op[]; static int scount(who) int who; { - register int i, shots; - register ship_t *sp; + int i, shots; + ship_t *sp; if (who) sp = cpuship; /* count cpu shots */ @@ -1210,7 +1210,7 @@ char *argv[]; } else { - register int i; + int i; i = scount(turn); while (i--) -- cgit v1.2.3