From f95037bc26da38e823c3e1775c99fd3e15919fc2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 19 Aug 2020 22:55:54 +0900 Subject: [PATCH] Fixed FTBFS caused by duplicated variable definitions. Signed-off-by: Michele Calgaro --- libkholidays/parseholiday.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libkholidays/parseholiday.y b/libkholidays/parseholiday.y index 50e80cb9..380a6ebc 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 */