diff options
author | Michele Calgaro <[email protected]> | 2020-08-19 22:55:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-20 10:20:12 +0900 |
commit | 5d7efe154ad9e294061a2c406f39bbc3a7465971 (patch) | |
tree | 1c2fd46e8dbceb7256434c14c70587cc87233520 | |
parent | 401a88dcedfb93e7e034c95ea444adc94c76d3c0 (diff) | |
download | tdepim-5d7efe154ad9e294061a2c406f39bbc3a7465971.tar.gz tdepim-5d7efe154ad9e294061a2c406f39bbc3a7465971.zip |
Fixed FTBFS caused by duplicated variable definitions.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit f95037bc26da38e823c3e1775c99fd3e15919fc2)
-rw-r--r-- | libkholidays/parseholiday.y | 4 |
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 */ |