diff --git a/cde/programs/dtcalc/calctool.h b/cde/programs/dtcalc/calctool.h index c525ea18a..25833ded5 100644 --- a/cde/programs/dtcalc/calctool.h +++ b/cde/programs/dtcalc/calctool.h @@ -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. */ diff --git a/cde/programs/dtcalc/motif.c b/cde/programs/dtcalc/motif.c index 411d381f5..78b3f7291 100644 --- a/cde/programs/dtcalc/motif.c +++ b/cde/programs/dtcalc/motif.c @@ -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[] = diff --git a/cde/programs/dtcalc/motif.h b/cde/programs/dtcalc/motif.h index 8e571c8e7..4ded8c26d 100644 --- a/cde/programs/dtcalc/motif.h +++ b/cde/programs/dtcalc/motif.h @@ -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"