From b397593c94941f7ef41a265e065f57dffaa7e9bd Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 8 Nov 2005 22:44:16 +0000 Subject: 2005-11-08 Tom Walsh * 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. --- newlib/libc/time/tzset_r.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'newlib/libc/time/tzset_r.c') diff --git a/newlib/libc/time/tzset_r.c b/newlib/libc/time/tzset_r.c index 49e519de5..36b87d7b2 100644 --- a/newlib/libc/time/tzset_r.c +++ b/newlib/libc/time/tzset_r.c @@ -11,11 +11,6 @@ static char __tzname_std[11]; static char __tzname_dst[11]; static char *prev_tzenv = NULL; -/* default to GMT */ -char *_tzname[2] = {"GMT", "GMT"}; -int _daylight = 0; -long _timezone = 0; - _VOID _DEFUN (_tzset_r, (reent_ptr), struct _reent *reent_ptr) -- cgit v1.2.3