Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-07-07 00:09:23 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-07-07 00:09:23 +0400
commita5a0080d9c1a0d2a964ed05a09685a14396acb66 (patch)
treea8801dc4d9898019f17b8c84b3a1a274c44dd180 /winsup/cygwin/times.cc
parentd2d9ce09b5cb2d35a62dd7f5f1940d70d8fe0e7a (diff)
* times.cc (gettimeofday): Align definition to POSIX.
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r--winsup/cygwin/times.cc3
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 ();