diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-07-07 00:09:23 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-07-07 00:09:23 +0400 |
commit | a5a0080d9c1a0d2a964ed05a09685a14396acb66 (patch) | |
tree | a8801dc4d9898019f17b8c84b3a1a274c44dd180 /winsup/cygwin/times.cc | |
parent | d2d9ce09b5cb2d35a62dd7f5f1940d70d8fe0e7a (diff) |
* times.cc (gettimeofday): Align definition to POSIX.
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 336a649da..6dbdc0107 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -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 (); |