diff options
author | billf <billf@FreeBSD.org> | 1999-11-16 02:58:06 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-11-16 02:58:06 +0000 |
commit | 44fac3a89d25ca434f91c4f961a363ea590faae8 (patch) | |
tree | a0cca4d47c73890ff2acd4b0d9331509ac360eb2 /games/bs | |
parent | ecc8d489403ddff78c214db39def15049d5dae6a (diff) | |
download | FreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.zip FreeBSD-src-44fac3a89d25ca434f91c4f961a363ea590faae8.tar.gz |
Sync our register usage with NetBSD's (non-)usage.
Diffstat (limited to 'games/bs')
-rw-r--r-- | games/bs/bs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/bs/bs.c b/games/bs/bs.c index 216bc0c..7613306 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--) |