* times.cc (gettimeofday): Align definition to POSIX.

This commit is contained in:
Corinna Vinschen 2007-07-06 20:09:23 +00:00
parent d2d9ce09b5
commit a5a0080d9c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-07-06 Corinna Vinschen <corinna@vinschen.de>
* times.cc (gettimeofday): Align definition to POSIX.
2007-07-06 Corinna Vinschen <corinna@vinschen.de>
* cygwin.din: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm.

View File

@ -150,8 +150,9 @@ hires_ms NO_COPY gtod;
/* FIXME: Make thread safe */
extern "C" int
gettimeofday (struct timeval *tv, struct timezone *tz)
gettimeofday (struct timeval *tv, void *tzvp)
{
struct timezone *tz = (struct timezone *) tzvp;
static bool tzflag;
LONGLONG now = gtod.usecs ();