dtappbbuilder: Resolve GCC 10 errors about multiple definitions of global variables
This commit is contained in:
@@ -88,7 +88,7 @@ static int print_load_stats(
|
|||||||
ABProfiledInterval configTime
|
ABProfiledInterval configTime
|
||||||
);
|
);
|
||||||
|
|
||||||
char Buf[MAXPATHLEN]; /* Work buffer */
|
extern char Buf[MAXPATHLEN]; /* Work buffer */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Loads in a new project, replacing the current project.
|
* Loads in a new project, replacing the current project.
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ typedef enum
|
|||||||
} CG_STATUS;
|
} CG_STATUS;
|
||||||
|
|
||||||
|
|
||||||
CGenOptions CodeGenOptions;
|
extern CGenOptions CodeGenOptions;
|
||||||
StringList user_env_vars = NULL;
|
StringList user_env_vars = NULL;
|
||||||
StringList module_list = NULL;
|
StringList module_list = NULL;
|
||||||
static CG_GOAL user_goal = CG_GOAL_UNDEF;
|
static CG_GOAL user_goal = CG_GOAL_UNDEF;
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ static XtTranslations proj_transtbl = NULL;
|
|||||||
static XRectangle *rband_rect = NULL;
|
static XRectangle *rband_rect = NULL;
|
||||||
static Boolean mselect_adjust = False;
|
static Boolean mselect_adjust = False;
|
||||||
|
|
||||||
char Buf[MAXPATHLEN]; /* Work buffer */
|
extern char Buf[MAXPATHLEN]; /* Work buffer */
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
**
|
**
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ static void mult_module_selected(
|
|||||||
** **
|
** **
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
char Buf[MAXPATHLEN]; /* Work buffer */
|
extern char Buf[MAXPATHLEN]; /* Work buffer */
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
** **
|
** **
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
const char mod_path[] = "*proj_mod_path";
|
const char mod_path[] = "*proj_mod_path";
|
||||||
const char proj_path[] = "*proj_proj_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 */
|
/* Whether we are to export a module as BIL (default) or UIL */
|
||||||
static BOOL ExportAsUIL = FALSE;
|
static BOOL ExportAsUIL = FALSE;
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
#include "bilP.h"
|
#include "bilP.h"
|
||||||
|
|
||||||
BIL_LOAD_INFO bilP_load;
|
BIL_LOAD_INFO bilP_load;
|
||||||
char Buf[MAXPATHLEN];
|
static char Buf[MAXPATHLEN];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read a BIL file into memory. Returns a project node.
|
* Read a BIL file into memory. Returns a project node.
|
||||||
|
|||||||
Reference in New Issue
Block a user