summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.main.c')
-rw-r--r--games/hack/hack.main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.main.c b/games/hack/hack.main.c
index 0d07c6e..b29320a 100644
--- a/games/hack/hack.main.c
+++ b/games/hack/hack.main.c
@@ -405,7 +405,7 @@ not_recovered:
}
glo(foo)
-foo;
+int foo;
{
/* construct the string xlock.n */
char *tf;
@@ -480,7 +480,7 @@ boolean wr;
/* perhaps we should also test whether . is writable */
/* unfortunately the access systemcall is worthless */
if(wr) {
- fd;
+ int fd;
if(dir == NULL)
dir = ".";
OpenPOWER on IntegriCloud