* Makefile.in (OBSOLETE_FUNCTIONS): Add timezone.
* include/cygwin/time.h: Drop conditional timezone definitions. (timezone): Declare as extern symbol referring _timezone variable.
This commit is contained in:
@ -29,13 +29,8 @@ time_t __cdecl timegm (struct tm *);
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user