* 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:
parent
e23dd0ad89
commit
cf632a487b
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2007-11-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of
|
* fhandler_tape.cc (mtinfo::initialize): Use MAX_PATH instead of
|
||||||
|
|
|
@ -158,7 +158,7 @@ OBSOLETE_FUNCTIONS:=regcomp regerror regexec regfree regsub \
|
||||||
getgroups getpwuid getpwuid_r getuid initgroups \
|
getgroups getpwuid getpwuid_r getuid initgroups \
|
||||||
lchown lseek lstat mknod mmap seekdir setegid seteuid \
|
lchown lseek lstat mknod mmap seekdir setegid seteuid \
|
||||||
setgid setgroups setregid setreuid setuid stat \
|
setgid setgroups setregid setreuid setuid stat \
|
||||||
telldir tmpfile truncate
|
telldir tmpfile truncate timezone
|
||||||
|
|
||||||
NEW_FUNCTIONS:=regcomp posix_regcomp \
|
NEW_FUNCTIONS:=regcomp posix_regcomp \
|
||||||
regerror posix_regerror \
|
regerror posix_regerror \
|
||||||
|
|
|
@ -29,13 +29,8 @@ time_t __cdecl timegm (struct tm *);
|
||||||
# define daylight _daylight
|
# define daylight _daylight
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/* The timezone function is only kept for backward compatibility.
|
extern long timezone __asm__ ("__timezone");
|
||||||
POSIX expects the timezone variable as XSI extension. */
|
|
||||||
# ifdef __timezonefunc__
|
|
||||||
char __cdecl *timezone (void);
|
|
||||||
# elif !defined(timezone)
|
|
||||||
# define timezone _timezone
|
|
||||||
# endif
|
|
||||||
#endif /*__STRICT_ANSI__*/
|
#endif /*__STRICT_ANSI__*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue