Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-11-09 01:44:16 +0300
committerJeff Johnston <jjohnstn@redhat.com>2005-11-09 01:44:16 +0300
commitb397593c94941f7ef41a265e065f57dffaa7e9bd (patch)
treed61af3b0dd99feb68d5c08c06d70e05c11f9a9f2 /newlib/libc/time/tzvars.c
parent86c6c4212fc4d69a499654f4f95fed11d1226678 (diff)
2005-11-08 Tom Walsh <tom@openhardware.net>
* libc/time/tzvars.c: New file. * libc/time/tzset_r.c: Moved globals into tzvars.c so other time functions needn't link in __tzset_r and its dependencies. * libc/time/Makefile.am: Add the new file. * libc/time/Makefile.in: Regenerated.
Diffstat (limited to 'newlib/libc/time/tzvars.c')
-rw-r--r--newlib/libc/time/tzvars.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/time/tzvars.c b/newlib/libc/time/tzvars.c
new file mode 100644
index 000000000..d1f17649b
--- /dev/null
+++ b/newlib/libc/time/tzvars.c
@@ -0,0 +1,10 @@
+#include <time.h>
+
+/* Global timezone variables. */
+
+/* Default timezone to GMT */
+char *_tzname[2] = {"GMT", "GMT"};
+int _daylight = 0;
+long _timezone = 0;
+
+