From fde987982e442d7f783348f38a76025b148917be Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 11 Sep 1999 02:09:09 +0000 Subject: [PATCH] Tweaks to get rid of a compiler warning. --- src/Time/lowleveltime.cxx | 3 +++ src/Time/lowleveltime.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Time/lowleveltime.cxx b/src/Time/lowleveltime.cxx index 5b7bb2dd0..27fd7b2a3 100644 --- a/src/Time/lowleveltime.cxx +++ b/src/Time/lowleveltime.cxx @@ -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 diff --git a/src/Time/lowleveltime.h b/src/Time/lowleveltime.h index 9a2235c8c..d074aa21b 100644 --- a/src/Time/lowleveltime.h +++ b/src/Time/lowleveltime.h @@ -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 */