SW: Get grpscan.cpp compiling by fixing declaration and initialization of grpfiles/foundgrps

Patch from Striker.

git-svn-id: https://svn.eduke32.com/eduke32@7513 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:26:50 +00:00 committed by Christoph Oelckers
parent a7facc0e35
commit 2448bbe600
2 changed files with 5 additions and 3 deletions

View file

@ -30,13 +30,13 @@
#include "grpscan.h"
struct grpfile grpfiles[numgrpfiles] =
grpfile grpfiles[numgrpfiles] =
{
{ "Registered Version", 0x7545319F, 47536148, NULL },
{ "Shareware Version", 0x08A7FA1F, 26056769, NULL },
{ "Wanton Destruction (Addon)", 0xA9AAA7B7, 48698128, NULL },
};
struct grpfile *foundgrps = NULL;
grpfile *foundgrps = NULL;
#define GRPCACHEFILE "grpfiles.cache"
static struct grpcache

View file

@ -32,7 +32,9 @@ struct grpfile
int crcval;
int size;
struct grpfile *next;
} grpfiles[numgrpfiles], *foundgrps;
};
extern grpfile grpfiles[numgrpfiles], *foundgrps;
int ScanGroups(void);
void FreeGroups(void);