mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
dtcalc: Resolve gcc 10 errors about multiple definitions of global variables
This commit is contained in:
parent
b21968f26a
commit
e1196cdfec
3 changed files with 8 additions and 3 deletions
|
@ -552,7 +552,9 @@ struct calcVars { /* Calctool variables and options. */
|
|||
#ifdef hpux
|
||||
int keybdID;
|
||||
#endif
|
||||
} CalcVars ;
|
||||
};
|
||||
|
||||
extern struct calcVars CalcVars;
|
||||
|
||||
typedef struct calcVars *Vars ;
|
||||
|
||||
|
@ -568,7 +570,7 @@ typedef struct
|
|||
char *session;
|
||||
} ApplicationArgs, *ApplicationArgsPtr;
|
||||
|
||||
ApplicationArgs application_args;
|
||||
extern ApplicationArgs application_args;
|
||||
|
||||
/* MP definitions. */
|
||||
|
||||
|
|
|
@ -112,6 +112,9 @@ extern XmWidgetExtData _XmGetWidgetExtData(
|
|||
#include "ds_popup.h"
|
||||
#include "ds_xlib.h"
|
||||
|
||||
|
||||
ApplicationArgs application_args;
|
||||
XVars X;
|
||||
Boolean colorSrv;
|
||||
|
||||
static XtResource resources[] =
|
||||
|
|
|
@ -87,7 +87,7 @@ typedef struct Xobject { /* Motif/Xlib graphics object. */
|
|||
|
||||
typedef struct Xobject *XVars ;
|
||||
|
||||
XVars X ;
|
||||
extern XVars X ;
|
||||
|
||||
#ifndef CDE_INSTALLATION_TOP
|
||||
#define CDE_INSTALLATION_TOP "/usr/dt"
|
||||
|
|
Loading…
Reference in a new issue