diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1999-11-16 02:58:06 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1999-11-16 02:58:06 +0000 |
commit | 727bf60729b6e2f693b3a1162a2f4b32e49bf8bd (patch) | |
tree | a0cca4d47c73890ff2acd4b0d9331509ac360eb2 /games/wump | |
parent | 879099e5568801911b66f1ea9085fed24fc12560 (diff) | |
download | src-727bf60729b6e2f693b3a1162a2f4b32e49bf8bd.tar.gz src-727bf60729b6e2f693b3a1162a2f4b32e49bf8bd.zip |
Sync our register usage with NetBSD's (non-)usage.
Notes
Notes:
svn path=/head/; revision=53210
Diffstat (limited to 'games/wump')
-rw-r--r-- | games/wump/wump.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/wump/wump.c b/games/wump/wump.c index 8c1f32c28e77..dc7010ec8403 100644 --- a/games/wump/wump.c +++ b/games/wump/wump.c @@ -227,7 +227,7 @@ quiver holds %d custom super anti-evil Wumpus arrows. Good luck.\n", display_room_stats() { - register int i; + int i; /* * Routine will explain what's going on with the current room, as well @@ -487,7 +487,7 @@ The arrow is weakly shot and can go no further!\n"); cave_init() { - register int i, j, k, link; + int i, j, k, link; int delta, int_compare(); /* @@ -560,7 +560,7 @@ try_again: link = (random() % room_num) + 1; clear_things_in_cave() { - register int i; + int i; /* * remove bats and pits from the current cave in preparation for us @@ -572,7 +572,7 @@ clear_things_in_cave() initialize_things_in_cave() { - register int i, loc; + int i, loc; /* place some bats, pits, the wumpus, and the player. */ for (i = 0; i < bat_num; ++i) { @@ -636,7 +636,7 @@ getans(prompt) bats_nearby() { - register int i; + int i; /* check for bats in the immediate vicinity */ for (i = 0; i < link_num; ++i) @@ -647,7 +647,7 @@ bats_nearby() pit_nearby() { - register int i; + int i; /* check for pits in the immediate vicinity */ for (i = 0; i < link_num; ++i) @@ -658,7 +658,7 @@ pit_nearby() wump_nearby() { - register int i, j; + int i, j; /* check for a wumpus within TWO caves of where we are */ for (i = 0; i < link_num; ++i) { |