Try to fix emscripten build error.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5482 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-06-22 03:11:41 +00:00
parent 73ef27d709
commit 1f421b40cc

View file

@ -215,6 +215,8 @@ static struct
} downloadablelist[32]; } downloadablelist[32];
static int downloadablessequence; //bumped any time any package is purged static int downloadablessequence; //bumped any time any package is purged
static void PM_WriteInstalledPackages(void);
static void PM_FreePackage(package_t *p) static void PM_FreePackage(package_t *p)
{ {
struct packagedep_s *d; struct packagedep_s *d;
@ -1079,7 +1081,6 @@ void PM_EnumeratePlugins(void (*callback)(const char *name))
#endif #endif
#ifdef PLUGINS #ifdef PLUGINS
static void PM_WriteInstalledPackages(void);
static package_t *PM_FindPackage(const char *packagename); static package_t *PM_FindPackage(const char *packagename);
static int QDECL PM_EnumeratedPlugin (const char *name, qofs_t size, time_t mtime, void *param, searchpathfuncs_t *spath) static int QDECL PM_EnumeratedPlugin (const char *name, qofs_t size, time_t mtime, void *param, searchpathfuncs_t *spath)
{ {