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/robots/move.c | |
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/robots/move.c')
-rw-r--r-- | games/robots/move.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/robots/move.c b/games/robots/move.c index d3f0d07..6c274b2 100644 --- a/games/robots/move.c +++ b/games/robots/move.c @@ -49,8 +49,8 @@ static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93"; */ get_move() { - register int c; - register int y, x, lastmove; + int c; + int y, x, lastmove; static COORD newpos; if (Waiting) @@ -198,7 +198,7 @@ ret: */ must_telep() { - register int x, y; + int x, y; static COORD newpos; #ifdef FANCY @@ -264,9 +264,9 @@ int dy, dx; * Player would get eaten at this place */ eaten(pos) -register COORD *pos; +COORD *pos; { - register int x, y; + int x, y; for (y = pos->y - 1; y <= pos->y + 1; y++) { if (y <= 0 || y >= Y_FIELDSIZE) |