From 90c6a46c9c8d9d18e74302fa43b80ef77ce48f93 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Jan 2020 20:17:36 +0900 Subject: Removed explicit usage of the 'register' keyword. Signed-off-by: Michele Calgaro --- libkholidays/parseholiday.y | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libkholidays/parseholiday.y') 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(); -- cgit v1.2.1