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:
		
							parent
							
								
									fc7e459a70
								
							
						
					
					
						commit
						8e5ffd22e1
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -36,7 +36,7 @@ typedef struct {
 | 
				
			||||||
 /* Global variable */
 | 
					 /* Global variable */
 | 
				
			||||||
/*******************/
 | 
					/*******************/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Display		*display;
 | 
					extern Display		*display;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /***********************/
 | 
					  /***********************/
 | 
				
			||||||
 /* Function Prototypes */
 | 
					 /* Function Prototypes */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -85,6 +85,7 @@
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Global Variables */
 | 
					/* Global Variables */
 | 
				
			||||||
 | 
					Display		*display;
 | 
				
			||||||
int tfd;
 | 
					int tfd;
 | 
				
			||||||
int card_present = FALSE;
 | 
					int card_present = FALSE;
 | 
				
			||||||
int ntfb_status  = SETOFF;
 | 
					int ntfb_status  = SETOFF;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue