diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-07-06 16:56:30 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-07-06 16:56:30 +0000 |
commit | 0be2bc94e7ecd7b5555d114a54fc3a48b405ebbd (patch) | |
tree | 8c63fd8476ba0883f56cf3bfa656af18e8688a0a /newlib/libc/include/reent.h | |
parent | ba9af2d7ece00008ecc871f6891cc000c7cb4339 (diff) | |
download | cygnal-0be2bc94e7ecd7b5555d114a54fc3a48b405ebbd.tar.gz cygnal-0be2bc94e7ecd7b5555d114a54fc3a48b405ebbd.tar.bz2 cygnal-0be2bc94e7ecd7b5555d114a54fc3a48b405ebbd.zip |
2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/time.h (gettimeofday): Change to proper
prototype where second parameter is void *.
* libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
accordingly.
* libc/include/reent.h: Fix prototype for _gettimeofday_r.
* libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
* libc/sys/rdos/gettod.c: Ditto.
* libc/sys/sh/syscalls.c: Ditto.
* libc/time/time.c (time): Change call to _gettimeofday_r
to pass NULL as 2nd argument.
Diffstat (limited to 'newlib/libc/include/reent.h')
-rw-r--r-- | newlib/libc/include/reent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/reent.h b/newlib/libc/include/reent.h index 00c2eb4b6..639789e71 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 |