summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.do.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.do.c')
-rw-r--r--games/hack/hack.do.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.do.c b/games/hack/hack.do.c
index 8e7a52f..547a455 100644
--- a/games/hack/hack.do.c
+++ b/games/hack/hack.do.c
@@ -121,7 +121,7 @@ goto_level(newlevel, at_stairs)
int newlevel;
boolean at_stairs;
{
- fd;
+ int fd;
boolean up = (newlevel < dlevel);
if(newlevel <= 0) done("escaped"); /* in fact < 0 is impossible */
@@ -253,7 +253,7 @@ dothrow()
{
struct obj *obj;
struct monst *mon;
- tmp;
+ int tmp;
obj = getobj("#)", "throw"); /* it is also possible to throw food */
/* (or jewels, or iron balls ... ) */
OpenPOWER on IntegriCloud