summaryrefslogtreecommitdiffstats
path: root/games/wump/wump.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/wump/wump.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/wump/wump.c')
-rw-r--r--games/wump/wump.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/wump/wump.c b/games/wump/wump.c
index 8c1f32c..dc7010e 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) {
OpenPOWER on IntegriCloud