Blame SOURCES/c2esp-gcc10.patch

3b2beb
diff --git a/src/c2espcommon.c b/src/c2espcommon.c
3b2beb
index 51291f7..409e7f6 100644
3b2beb
--- a/src/c2espcommon.c
3b2beb
+++ b/src/c2espcommon.c
3b2beb
@@ -43,11 +43,11 @@
3b2beb
  * Globals...
3b2beb
  */
3b2beb
 char		CallerName[50];  	/* String that identifies the calling program */
3b2beb
-int		DoBack;			/* Enables the back channel comms */ 
3b2beb
+extern int	DoBack;			/* Enables the back channel comms */
3b2beb
 char 		BackBuf[32000]; //for the back channel replies from the printer
3b2beb
 int 		BackBufLen=sizeof(BackBuf)-1;
3b2beb
 FILE 		*LogFile = NULL; //file descriptor for log file
3b2beb
-time_t		StartTime;
3b2beb
+extern time_t	StartTime;
3b2beb
 int		BlackPercent, ColourPercent;
3b2beb
 
3b2beb
 time_t KeepAwake(time_t Start, int Interval, FILE *PrintFile)
3b2beb
diff --git a/src/c2espcommon.h b/src/c2espcommon.h
3b2beb
index b726204..967e9ce 100644
3b2beb
--- a/src/c2espcommon.h
3b2beb
+++ b/src/c2espcommon.h
3b2beb
@@ -35,8 +35,8 @@
3b2beb
 /*
3b2beb
  * Globals...
3b2beb
 */
3b2beb
-char 		BackBuf[32000]; //for the back channel replies from the printer
3b2beb
-int		ColourPercent, BlackPercent; //to store the detected marker levels
3b2beb
+extern char 	BackBuf[32000]; //for the back channel replies from the printer
3b2beb
+extern int	ColourPercent, BlackPercent; //to store the detected marker levels
3b2beb
 
3b2beb
 
3b2beb
 time_t KeepAwake(time_t Start, int Interval, FILE *PrintFile);