diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-11-08 22:44:16 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-11-08 22:44:16 +0000 |
commit | b397593c94941f7ef41a265e065f57dffaa7e9bd (patch) | |
tree | d61af3b0dd99feb68d5c08c06d70e05c11f9a9f2 /newlib/libc/time/tzvars.c | |
parent | 86c6c4212fc4d69a499654f4f95fed11d1226678 (diff) | |
download | cygnal-b397593c94941f7ef41a265e065f57dffaa7e9bd.tar.gz cygnal-b397593c94941f7ef41a265e065f57dffaa7e9bd.tar.bz2 cygnal-b397593c94941f7ef41a265e065f57dffaa7e9bd.zip |
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.c | 10 |
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; + + |