diff options
author | marcel <marcel@FreeBSD.org> | 1999-11-16 10:26:38 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-11-16 10:26:38 +0000 |
commit | 520fff788fc8f2154247a6cff986abf634fdbb51 (patch) | |
tree | 839b85661e38597650d090e9cb482291451611bb /games/hack/hack.invent.c | |
parent | 44fac3a89d25ca434f91c4f961a363ea590faae8 (diff) | |
download | FreeBSD-src-520fff788fc8f2154247a6cff986abf634fdbb51.zip FreeBSD-src-520fff788fc8f2154247a6cff986abf634fdbb51.tar.gz |
Add type int to those variables without a type. This is caused by the
frequent use of ``register var'' instead of ``register int var'' and
the removal of the register hint in the previous commit.
Diffstat (limited to 'games/hack/hack.invent.c')
-rw-r--r-- | games/hack/hack.invent.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/hack/hack.invent.c b/games/hack/hack.invent.c index 819bcff..7fc170c 100644 --- a/games/hack/hack.invent.c +++ b/games/hack/hack.invent.c @@ -170,7 +170,7 @@ struct wseg *m_atseg; struct monst * m_at(x,y) -x,y; +int x,y; { struct monst *mtmp; #ifndef NOWORM @@ -196,7 +196,7 @@ x,y; struct obj * o_at(x,y) -x,y; +int x,y; { struct obj *otmp; @@ -207,7 +207,7 @@ x,y; struct obj * sobj_at(n,x,y) -n,x,y; +int n,x,y; { struct obj *otmp; @@ -246,7 +246,7 @@ o_on(id, objchn) unsigned int id; struct obj *objchn; { struct trap * t_at(x,y) -x,y; +int x,y; { struct trap *trap = ftrap; while(trap) { @@ -258,7 +258,7 @@ x,y; struct gold * g_at(x,y) -x,y; +int x,y; { struct gold *gold = fgold; while(gold) { |