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/m68k | |
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/m68k')
-rw-r--r-- | libgloss/m68k/io-gettimeofday.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgloss/m68k/io-gettimeofday.c b/libgloss/m68k/io-gettimeofday.c index 41e6ee3..ae4aaf6 100644 --- a/libgloss/m68k/io-gettimeofday.c +++ b/libgloss/m68k/io-gettimeofday.c @@ -28,11 +28,12 @@ * 1 : errno */ -int gettimeofday (struct timeval *tv, struct timezone *tz) +int gettimeofday (struct timeval *tv, void *tzvp) { #if HOSTED gdb_parambuf_t parameters; struct gdb_timeval gtv; + struct timezone *tz = tzvp; if (!tv) return 0; if (tz) |