]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/lowleveltime.h
First quick hack at panel shading.
[flightgear.git] / src / Time / lowleveltime.h
index f2d48769b9dc4220d4845a7072dad0bcd2b76228..d074aa21b28faf17f4874da7bb4acae3e0cc2d50 100644 (file)
 void show (const char *zone, time_t t, int v);
 
 /* adapted from <time.h> */
-struct tm * fgLocaltime (const time_t *t, char *tzName);
+struct tm * fgLocaltime (const time_t *t, const char *tzName);
 
 /* Prototype for the internal function to get information based on TZ.  */
 extern struct tm *fgtz_convert (const time_t *t, int use_localtime,
-                                    struct tm *tp, char *tzName);
+                                    struct tm *tp, const char *tzName);
 
 /* This structure contains all the information about a
    timezone given in the POSIX standard TZ envariable.  */
@@ -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 */