summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2021-01-26 20:42:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2021-01-26 20:42:50 +0000
commit38afea441302f356bf43ba8130a2177f03f57a29 (patch)
treee1165ae8372bbd4c0d1df0e2570b730272fe7a5e
parent144936d974cb251b69acc0d116443124931b2c51 (diff)
Fix build with -fno-common. OK deraadt@
-rw-r--r--games/hack/hack.mklev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/games/hack/hack.mklev.c b/games/hack/hack.mklev.c
index 18e3cdfa939..1bd54552c71 100644
--- a/games/hack/hack.mklev.c
+++ b/games/hack/hack.mklev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hack.mklev.c,v 1.8 2016/01/09 18:33:15 mestre Exp $ */
+/* $OpenBSD: hack.mklev.c,v 1.9 2021/01/26 20:42:49 millert Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -72,15 +72,12 @@
#define XLIM 4 /* define minimum required space around a room */
#define YLIM 3
boolean secret; /* TRUE while making a vault: increase [XY]LIM */
-struct mkroom rooms[MAXNROFROOMS+1];
int smeq[MAXNROFROOMS+1];
-coord doors[DOORMAX];
int doorindex;
struct rm zerorm;
schar nxcor;
boolean goldseen;
int nroom;
-xchar xdnstair,xupstair,ydnstair,yupstair;
/* Definitions used by makerooms() and addrs() */
#define MAXRS 50 /* max lth of temp rectangle table - arbitrary */