diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-07-06 17:00:13 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-07-06 17:00:13 +0000 |
commit | de229adb1ac0abf2af6f870de4755a2713b65c53 (patch) | |
tree | c045530eaa2ffa467ae5b1e301c0f7e199045c78 /libgloss/arm | |
parent | 0be2bc94e7ecd7b5555d114a54fc3a48b405ebbd (diff) | |
download | newlib-de229adb1ac0abf2af6f870de4755a2713b65c53.zip newlib-de229adb1ac0abf2af6f870de4755a2713b65c53.tar.gz newlib-de229adb1ac0abf2af6f870de4755a2713b65c53.tar.bz2 |
2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
* arm/syscalls.c (gettimeofday): Change to POSIX signature
where second argument is passed as void *.
* bfin/syscalls.c (gettimeofday): Ditto.
* cris/gensyscalls (gettimeofday): Ditto.
* cris/linunistd.h (gettimeofday): Ditto.
* crx/time.c (gettimeofday): Ditto.
* frv/sim-time.c (gettimeofday): Ditto.
* i386/cygmon-salib.c (gettimeofday): Ditto.
* libnosys/gettod.c (gettimeofday): Ditto.
* m68k/io-gettimeofday.c (gettimeofday): Ditto.
* sparc/cygmon-salib.c (gettimeofday): Ditto.
* spu/gettimeofday.c (gettimeofday): Ditto.
Diffstat (limited to 'libgloss/arm')
-rw-r--r-- | libgloss/arm/syscalls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgloss/arm/syscalls.c b/libgloss/arm/syscalls.c index 81d1724..1ab3830 100644 --- a/libgloss/arm/syscalls.c +++ b/libgloss/arm/syscalls.c @@ -22,7 +22,7 @@ int _system _PARAMS ((const char *)); int _rename _PARAMS ((const char *, const char *)); int _isatty _PARAMS ((int)); clock_t _times _PARAMS ((struct tms *)); -int _gettimeofday _PARAMS ((struct timeval *, struct timezone *)); +int _gettimeofday _PARAMS ((struct timeval *, void *)); int _unlink _PARAMS ((const char *)); int _link _PARAMS ((void)); int _stat _PARAMS ((const char *, struct stat *)); @@ -525,9 +525,9 @@ _unlink (const char *path) } int -_gettimeofday (struct timeval * tp, struct timezone * tzp) +_gettimeofday (struct timeval * tp, void * tzvp) { - + struct timezone *tzp = tzvp; if (tp) { /* Ask the host for the seconds since the Unix epoch. */ |