summaryrefslogtreecommitdiffstats
path: root/games/trek/dumpgame.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/dumpgame.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/dumpgame.c')
-rw-r--r--games/trek/dumpgame.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/trek/dumpgame.c b/games/trek/dumpgame.c
index e77fbc4..8406f11 100644
--- a/games/trek/dumpgame.c
+++ b/games/trek/dumpgame.c
@@ -78,9 +78,9 @@ struct dump Dump_template[] =
dumpgame()
{
int version;
- register int fd;
- register struct dump *d;
- register int i;
+ int fd;
+ struct dump *d;
+ int i;
if ((fd = creat("trek.dump", 0644)) < 0)
return (printf("cannot dump\n"));
@@ -112,7 +112,7 @@ dumpgame()
restartgame()
{
- register int fd;
+ int fd;
int version;
if ((fd = open("trek.dump", O_RDONLY)) < 0 ||
@@ -142,9 +142,9 @@ restartgame()
readdump(fd1)
int fd1;
{
- register int fd;
- register struct dump *d;
- register int i;
+ int fd;
+ struct dump *d;
+ int i;
long junk;
fd = fd1;
OpenPOWER on IntegriCloud