Blame SOURCES/c2esp-gcc10.patch

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