Change to externs to build on Darwin

This commit is contained in:
Mark Hessling
2003-05-27 08:03:52 +00:00
parent c4838d2a6a
commit 19eaa176fc
4 changed files with 4 additions and 1 deletions

View File

@@ -24,6 +24,8 @@
#if defined(XCURSES)
#include "pdcx11.h"
AppData app_data;
#if NeedWidePrototypes
# define PDC_SCROLLBAR_TYPE double
#else

View File

@@ -239,7 +239,6 @@ typedef struct
XtWidgetGeometry geometry;
#endif
} AppData;
AppData app_data;
#define XCURSESNORMALFONTINFO app_data.normalfont
#define XCURSESITALICFONTINFO app_data.italicfont

View File

@@ -22,6 +22,7 @@
*/
#include "pdcx11.h"
extern AppData app_data;
int visible_cursor=0;
int windowEntered = 1;

View File

@@ -27,6 +27,7 @@
*/
#include "pdcx11.h"
extern AppData app_data;
#ifdef PROTO
static void XCursesExitCursesProcess(int, char *);