summaryrefslogtreecommitdiff
path: root/libc/misc/time/__time_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time/__time_static.c')
-rw-r--r--libc/misc/time/__time_static.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/misc/time/__time_static.c b/libc/misc/time/__time_static.c
new file mode 100644
index 000000000..d921ced90
--- /dev/null
+++ b/libc/misc/time/__time_static.c
@@ -0,0 +1,17 @@
+
+#include <time.h>
+
+/* These globals are exported by the C library */
+char *__tzname[2] = { (char *) "GMT", (char *) "GMT" };
+int __daylight = 0;
+long int __timezone = 0L;
+/* Grumble */
+weak_alias (__tzname, tzname);
+weak_alias (__daylight, daylight);
+weak_alias (__timezone, timezone);
+
+
+/* static data for gmtime() and localtime() */
+struct tm __tmb;
+
+