wmtv: Use extern when declaring global variables in header file.

Avoids a FTBFS when compiling with -fno-common, which will be default in
GCC 10.
This commit is contained in:
Doug Torrance 2020-04-18 00:12:01 -04:00 committed by Carlos R. Mafra
parent fc7e459a70
commit 8e5ffd22e1
2 changed files with 2 additions and 1 deletions

View file

@ -36,7 +36,7 @@ typedef struct {
/* Global variable */
/*******************/
Display *display;
extern Display *display;
/***********************/
/* Function Prototypes */

View file

@ -85,6 +85,7 @@
#endif
/* Global Variables */
Display *display;
int tfd;
int card_present = FALSE;
int ntfb_status = SETOFF;