summaryrefslogtreecommitdiffstats
path: root/games/trek/computer.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/trek/computer.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/trek/computer.c')
-rw-r--r--games/trek/computer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/trek/computer.c b/games/trek/computer.c
index a230cf2..e6d2bae 100644
--- a/games/trek/computer.c
+++ b/games/trek/computer.c
@@ -103,7 +103,7 @@ struct cvntab Cputab[] =
computer()
{
int ix, iy;
- register int i, j;
+ int i, j;
int numout;
int tqx, tqy;
struct cvntab *r;
@@ -112,7 +112,7 @@ computer()
double dist, time;
double warpfact;
struct quad *q;
- register struct event *e;
+ struct event *e;
if (check_out(COMPUTER))
return;
@@ -317,7 +317,7 @@ double *dist;
double dx, dy;
double quadsize;
double angle;
- register int course;
+ int course;
/* normalize to quadrant distances */
quadsize = NSECTS;
OpenPOWER on IntegriCloud