summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-08-19 22:55:54 +0900
committerMichele Calgaro <[email protected]>2020-08-20 10:14:23 +0900
commitf95037bc26da38e823c3e1775c99fd3e15919fc2 (patch)
tree09ee21e5357dd7265b278f52f90b0daa257fb206
parentb45508efc36b7e4c920360b10168c24a94398340 (diff)
downloadtdepim-f95037bc26da38e823c3e1775c99fd3e15919fc2.tar.gz
tdepim-f95037bc26da38e823c3e1775c99fd3e15919fc2.zip
Fixed FTBFS caused by duplicated variable definitions.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--libkholidays/parseholiday.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkholidays/parseholiday.y b/libkholidays/parseholiday.y
index 50e80cb9d..380a6ebc3 100644
--- a/libkholidays/parseholiday.y
+++ b/libkholidays/parseholiday.y
@@ -69,8 +69,8 @@ static void setdoff(int wday, int rel, int month, int day,
int year, int off, int length);
/*** Variables and structures ***/
static int m, d, y;
-int kcallineno; /* current line # being parsed */
-FILE *kcalin; /* file currently being processed */
+extern int kcallineno; /* current line # being parsed */
+extern FILE *kcalin; /* file currently being processed */
int yacc_small; /* small string or on its own line? */
int yacc_stringcolor; /* color of holiday name text, 1..8 */
char *yacc_string; /* holiday name text */