Tweaks to get rid of a compiler warning.
This commit is contained in:
parent
a5e9fd1358
commit
fde987982e
2 changed files with 3 additions and 3 deletions
|
@ -124,6 +124,9 @@ void fgtzfile_read (const char *file);
|
|||
static void offtime (const time_t *t, long int offset, struct tm *tp);
|
||||
static char *tzstring (const char* string);
|
||||
|
||||
/* tz_rules[0] is standard, tz_rules[1] is daylight. */
|
||||
static fgtz_rule fgtz_rules[2];
|
||||
|
||||
int fgtzfile_compute (time_t timer, int use_localtime,
|
||||
long int *leap_correct, int *leap_hit);
|
||||
struct ttinfo
|
||||
|
|
|
@ -64,9 +64,6 @@ typedef struct
|
|||
int computed_for; /* Year above is computed for. */
|
||||
} fgtz_rule;
|
||||
|
||||
/* tz_rules[0] is standard, tz_rules[1] is daylight. */
|
||||
static fgtz_rule fgtz_rules[2];
|
||||
|
||||
struct tzhead {
|
||||
char tzh_magic[4]; /* TZ_MAGIC */
|
||||
char tzh_reserved[16]; /* reserved for future use */
|
||||
|
|
Loading…
Reference in a new issue