From c752e84935d0fe0bc9c4f1089cf7b0b41f706502 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 23 Dec 2007 07:14:12 +0000 Subject: Make gettimeofday() POSIX-compliant. --- cpukit/libcsupport/src/__gettod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c index d987637d39..91ad5d67fd 100644 --- a/cpukit/libcsupport/src/__gettod.c +++ b/cpukit/libcsupport/src/__gettod.c @@ -35,9 +35,10 @@ int gettimeofday( struct timeval *tp, - struct timezone *tzp + void * __tz ) { + /* struct timezone* tzp = (struct timezone*) __tz; */ if ( !tp ) { errno = EFAULT; return -1; -- cgit v1.2.3