]> git.mxchange.org Git - flightgear.git/commitdiff
Tweaks to get rid of a compiler warning.
authorcurt <curt>
Sat, 11 Sep 1999 02:09:09 +0000 (02:09 +0000)
committercurt <curt>
Sat, 11 Sep 1999 02:09:09 +0000 (02:09 +0000)
src/Time/lowleveltime.cxx
src/Time/lowleveltime.h

index 5b7bb2dd06f87498a0d5051c8f2d94bf4e91ea1d..27fd7b2a385ea9faf4c5626ea2ad3f01309e7cc9 100644 (file)
@@ -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
index 9a2235c8c0658af1c2a06746ec9bf528e1e40789..d074aa21b28faf17f4874da7bb4acae3e0cc2d50 100644 (file)
@@ -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 */