From: millert Date: Tue, 26 Jan 2021 20:42:49 +0000 (+0000) Subject: Fix build with -fno-common. OK deraadt@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=46c6838e6890c249dae5e93d1c8b3fe86ab56559;p=openbsd Fix build with -fno-common. OK deraadt@ --- 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 */