diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:36 +0900 |
commit | 90c6a46c9c8d9d18e74302fa43b80ef77ce48f93 (patch) | |
tree | 7ad483a05ee27cd86b26d2461951f20ef21d5f77 /libkholidays/parseholiday.y | |
parent | dcbadd8017836649a71783b3a2d8162b8d227d4a (diff) | |
download | tdepim-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.y | 8 |
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(); |