summaryrefslogtreecommitdiffstats
path: root/libkholidays/parseholiday.y
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:36 +0900
commit90c6a46c9c8d9d18e74302fa43b80ef77ce48f93 (patch)
tree7ad483a05ee27cd86b26d2461951f20ef21d5f77 /libkholidays/parseholiday.y
parentdcbadd8017836649a71783b3a2d8162b8d227d4a (diff)
downloadtdepim-90c6a46c9c8d9d18e74302fa43b80ef77ce48f93.tar.gz
tdepim-90c6a46c9c8d9d18e74302fa43b80ef77ce48f93.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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();