1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

dtappbbuilder: Resolve GCC 10 errors about multiple definitions of global variables

This commit is contained in:
Peter Howkins 2020-11-23 23:40:45 +00:00
parent e1196cdfec
commit 361b8f1456
6 changed files with 6 additions and 6 deletions

View file

@ -88,7 +88,7 @@ static int print_load_stats(
ABProfiledInterval configTime
);
char Buf[MAXPATHLEN]; /* Work buffer */
extern char Buf[MAXPATHLEN]; /* Work buffer */
/*
* Loads in a new project, replacing the current project.

View file

@ -108,7 +108,7 @@ typedef enum
} CG_STATUS;
CGenOptions CodeGenOptions;
extern CGenOptions CodeGenOptions;
StringList user_env_vars = NULL;
StringList module_list = NULL;
static CG_GOAL user_goal = CG_GOAL_UNDEF;

View file

@ -228,7 +228,7 @@ static XtTranslations proj_transtbl = NULL;
static XRectangle *rband_rect = NULL;
static Boolean mselect_adjust = False;
char Buf[MAXPATHLEN]; /* Work buffer */
extern char Buf[MAXPATHLEN]; /* Work buffer */
/*************************************************************************
**

View file

@ -93,7 +93,7 @@ static void mult_module_selected(
** **
**************************************************************************/
char Buf[MAXPATHLEN]; /* Work buffer */
extern char Buf[MAXPATHLEN]; /* Work buffer */
/*************************************************************************
** **

View file

@ -79,7 +79,7 @@
const char mod_path[] = "*proj_mod_path";
const char proj_path[] = "*proj_proj_path";
char Buf[MAXPATHLEN]; /* Work buffer */
extern char Buf[MAXPATHLEN]; /* Work buffer */
/* Whether we are to export a module as BIL (default) or UIL */
static BOOL ExportAsUIL = FALSE;

View file

@ -60,7 +60,7 @@
#include "bilP.h"
BIL_LOAD_INFO bilP_load;
char Buf[MAXPATHLEN];
static char Buf[MAXPATHLEN];
/*
* Read a BIL file into memory. Returns a project node.