Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2007-07-06 21:00:13 +0400
committerJeff Johnston <jjohnstn@redhat.com>2007-07-06 21:00:13 +0400
commitde229adb1ac0abf2af6f870de4755a2713b65c53 (patch)
treec045530eaa2ffa467ae5b1e301c0f7e199045c78 /libgloss/arm
parent0be2bc94e7ecd7b5555d114a54fc3a48b405ebbd (diff)
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgloss/arm/syscalls.c b/libgloss/arm/syscalls.c
index 81d172494..1ab383073 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. */