summaryrefslogtreecommitdiffstats
path: root/libkholidays/parseholiday.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkholidays/parseholiday.c')
-rw-r--r--libkholidays/parseholiday.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkholidays/parseholiday.c b/libkholidays/parseholiday.c
index c215515e5..1923d955a 100644
--- a/libkholidays/parseholiday.c
+++ b/libkholidays/parseholiday.c
@@ -2571,8 +2571,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++)
{
@@ -2594,8 +2594,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();