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

This commit is contained in:
Peter Howkins
2020-11-24 05:42:59 +00:00
parent 9ff00704b3
commit dc45d133c9
18 changed files with 223 additions and 51 deletions

View File

@@ -68,6 +68,13 @@
#include "HelpCacheI.h"
#include "HourGlassI.h"
/* Global Variables Used by our helpCache */
CacheListStruct *pCacheListHead;
CacheListStruct *pCacheListTale;
int totalCacheNodes;
/* Internal Static Functions */
static Widget BuildMenus(Widget parent);
static void CreateMainWindow(Widget parent);

View File

@@ -64,9 +64,9 @@
/* Global Variables Used by our helpCache */
CacheListStruct *pCacheListHead;
CacheListStruct *pCacheListTale;
int totalCacheNodes;
extern CacheListStruct *pCacheListHead;
extern CacheListStruct *pCacheListTale;
extern int totalCacheNodes;
/* Globally referenced widget variables */
extern Widget topLevel;