summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-12-23 07:14:12 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-12-23 07:14:12 +0000
commitc752e84935d0fe0bc9c4f1089cf7b0b41f706502 (patch)
treec7870ce940b56c1ebc10b374b3652f1fbd297a62
parentMake sync() POSIX-compliant. (diff)
downloadrtems-c752e84935d0fe0bc9c4f1089cf7b0b41f706502.tar.bz2
Make gettimeofday() POSIX-compliant.
-rw-r--r--cpukit/libcsupport/src/__gettod.c3
1 files changed, 2 insertions, 1 deletions
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;