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.read.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.read.c')
-rw-r--r-- | games/hack/hack.read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.read.c b/games/hack/hack.read.c index 3c81d93..c0175d1 100644 --- a/games/hack/hack.read.c +++ b/games/hack/hack.read.c @@ -280,7 +280,7 @@ doread() { docrt(); break; case SCR_FOOD_DETECTION: - { ct = 0, ctu = 0; + { int ct = 0, ctu = 0; struct obj *obj; char foodsym = confused ? POTION_SYM : FOOD_SYM; @@ -448,7 +448,7 @@ struct obj *otmp; litroom(on) boolean on; { - num,zx,zy; + int num,zx,zy; /* first produce the text (provided he is not blind) */ if(Blind) goto do_it; |