diff --git a/wmtv/src/wmgeneral/wmgeneral.h b/wmtv/src/wmgeneral/wmgeneral.h index e26ca58..f4b4ba9 100644 --- a/wmtv/src/wmgeneral/wmgeneral.h +++ b/wmtv/src/wmgeneral/wmgeneral.h @@ -36,7 +36,7 @@ typedef struct { /* Global variable */ /*******************/ -Display *display; +extern Display *display; /***********************/ /* Function Prototypes */ diff --git a/wmtv/src/wmtv.c b/wmtv/src/wmtv.c index 1fa2eea..5c4c581 100644 --- a/wmtv/src/wmtv.c +++ b/wmtv/src/wmtv.c @@ -85,6 +85,7 @@ #endif /* Global Variables */ +Display *display; int tfd; int card_present = FALSE; int ntfb_status = SETOFF;