summaryrefslogtreecommitdiffstats
path: root/games/rogue/move.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/rogue/move.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/rogue/move.c')
-rw-r--r--games/rogue/move.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/rogue/move.c b/games/rogue/move.c
index 4335a46..59c92e4 100644
--- a/games/rogue/move.c
+++ b/games/rogue/move.c
@@ -226,7 +226,7 @@ short dirch;
}
is_passable(row, col)
-register row, col;
+row, col;
{
if ((row < MIN_ROW) || (row > (DROWS - 2)) || (col < 0) ||
(col > (DCOLS-1))) {
@@ -239,7 +239,7 @@ register row, col;
}
next_to_something(drow, dcol)
-register drow, dcol;
+drow, dcol;
{
short i, j, i_end, j_end, row, col;
short pass_count = 0;
@@ -375,7 +375,7 @@ boolean
check_hunger(msg_only)
boolean msg_only;
{
- register short i, n;
+ short i, n;
boolean fainted = 0;
if (rogue.moves_left == HUNGRY) {
OpenPOWER on IntegriCloud