diff options
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/reent.h | 2 | ||||
-rw-r--r-- | newlib/libc/include/sys/time.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/reent.h b/newlib/libc/include/reent.h index 00c2eb4..639789e 100644 --- a/newlib/libc/include/reent.h +++ b/newlib/libc/include/reent.h @@ -80,7 +80,7 @@ extern int _wait_r _PARAMS ((struct _reent *, int *)); extern _ssize_t _write_r _PARAMS ((struct _reent *, int, const void *, size_t)); /* This one is not guaranteed to be available on all targets. */ -extern int _gettimeofday_r _PARAMS ((struct _reent *, struct timeval *tp, struct timezone *tzp)); +extern int _gettimeofday_r _PARAMS ((struct _reent *, struct timeval *__tp, void *__tzp)); #ifdef __LARGE64_FILES diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h index df31649..2634605 100644 --- a/newlib/libc/include/sys/time.h +++ b/newlib/libc/include/sys/time.h @@ -70,7 +70,7 @@ struct itimerval { } while (0) #endif /* defined (__rtems__) || defined (__CYGWIN__) */ -int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z)); +int _EXFUN(gettimeofday, (struct timeval *__p, void *__tz)); int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *)); int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp)); int _EXFUN(getitimer, (int __which, struct itimerval *__value)); |