* include/cygwin/time.h: Drop conditional timezone definitions.
(timezone): Declare as extern symbol referring _timezone variable.
+2007-12-01 Corinna Vinschen <corinna@vinschen.de>
+ Brian Dessent <brian@dessent.net>
+
+ * Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
+ * include/cygwin/time.h: Drop conditional timezone definitions.
+ (timezone): Declare as extern symbol referring _timezone variable.
+
2007-11-28 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of
getgroups getpwuid getpwuid_r getuid initgroups \
lchown lseek lstat mknod mmap seekdir setegid seteuid \
setgid setgroups setregid setreuid setuid stat \
- telldir tmpfile truncate
+ telldir tmpfile truncate timezone
NEW_FUNCTIONS:=regcomp posix_regcomp \
regerror posix_regerror \
# define daylight _daylight
# endif
-/* The timezone function is only kept for backward compatibility.
- POSIX expects the timezone variable as XSI extension. */
-# ifdef __timezonefunc__
-char __cdecl *timezone (void);
-# elif !defined(timezone)
-# define timezone _timezone
-# endif
+extern long timezone __asm__ ("__timezone");
+
#endif /*__STRICT_ANSI__*/
#ifdef __cplusplus