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/robots/move.c | |
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/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 d3f0d07812ff..6c274b27ecea 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) |