* times.cc (timezone): Put back (void).
* include/cygwin/time.h: Add more cygwin stuff from newlib.
This commit is contained in:
parent
d3e81bdac8
commit
4c57fb4960
|
@ -1,3 +1,8 @@
|
|||
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* times.cc (timezone): Put back (void).
|
||||
* include/cygwin/time.h: Add more cygwin stuff from newlib.
|
||||
|
||||
2005-11-18 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* include/cygwin/sys_time.h: Rename from include/cygwin/time.h.
|
||||
|
|
|
@ -19,6 +19,20 @@ int nanosleep (const struct timespec *, struct timespec *);
|
|||
int clock_setres (clockid_t, struct timespec *);
|
||||
int clock_getres (clockid_t, struct timespec *);
|
||||
|
||||
#define TIMER_RELTIME 0 /* For compatibility with HP/UX, Solaris, others? */
|
||||
|
||||
#ifndef __STRICT_ANSI__
|
||||
# ifndef daylight
|
||||
# define daylight _daylight
|
||||
# endif
|
||||
|
||||
# ifndef timezonevar
|
||||
char *timezone (void);
|
||||
# elif !defined(timezone)
|
||||
# define timezone _timezone
|
||||
# endif
|
||||
#endif /*__STRICT_ANSI__*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -122,7 +122,7 @@ settimeofday (const struct timeval *tv, const struct timezone *tz)
|
|||
|
||||
/* timezone: standards? */
|
||||
extern "C" char *
|
||||
timezone ()
|
||||
timezone (void)
|
||||
{
|
||||
char *b = _my_tls.locals.timezone_buf;
|
||||
|
||||
|
|
Loading…
Reference in New Issue