summaryrefslogtreecommitdiffstats
path: root/libkholidays/parseholiday.y
diff options
context:
space:
mode:
Diffstat (limited to 'libkholidays/parseholiday.y')
-rw-r--r--libkholidays/parseholiday.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkholidays/parseholiday.y b/libkholidays/parseholiday.y
index fd03b11d2..50e80cb9d 100644
--- a/libkholidays/parseholiday.y
+++ b/libkholidays/parseholiday.y
@@ -634,8 +634,8 @@ static int day_from_wday(int day, int wday, int num)
static void initialize()
{
- register struct holiday *hp;
- register int dy;
+ struct holiday *hp;
+ int dy;
initialized = 1;
for (hp=holidays, dy=0; dy < 366; dy++, hp++)
{
@@ -657,8 +657,8 @@ static void initialize()
char *parse_holidays(const char *holidayfile, int year, short force)
{
- register struct holiday *hp;
- register int dy;
+ struct holiday *hp;
+ int dy;
short piped = 0;
if (!initialized)
initialize();