mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-30 08:40:34 +00:00
nicer fix
SCCS-file: zic.c SCCS-SID: 3.4
This commit is contained in:
committed by
Paul Eggert
parent
be5fa215b4
commit
b19a2c4b39
@@ -695,7 +695,7 @@ static
|
||||
inrule(fields, nfields)
|
||||
register char ** fields;
|
||||
{
|
||||
static struct rule r;
|
||||
struct rule r;
|
||||
|
||||
if (nfields != RULE_FIELDS) {
|
||||
error("wrong number of fields on Rule line");
|
||||
@@ -765,7 +765,7 @@ inzsub(fields, nfields, iscont)
|
||||
register char ** fields;
|
||||
{
|
||||
register char * cp;
|
||||
static struct zone z;
|
||||
struct zone z;
|
||||
register int i_gmtoff, i_rule, i_format;
|
||||
register int i_untilyear, i_untilmonth;
|
||||
register int i_untilday, i_untiltime;
|
||||
@@ -869,7 +869,9 @@ char * timep;
|
||||
{
|
||||
register struct lookup * lp;
|
||||
register char * cp;
|
||||
static struct rule initr;
|
||||
|
||||
*rp = initr;
|
||||
if ((lp = byword(monthp, mon_names)) == NULL) {
|
||||
error("invalid month name");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user