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/cris
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/cris')
-rw-r--r--libgloss/cris/gensyscalls2
-rw-r--r--libgloss/cris/linunistd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/cris/gensyscalls b/libgloss/cris/gensyscalls
index 9df8b0376..f925c1707 100644
--- a/libgloss/cris/gensyscalls
+++ b/libgloss/cris/gensyscalls
@@ -93,7 +93,7 @@ cat > gettod.c <<EOF
$lu#include <sys/time.h>
#include <sys/times.h>
int
-_gettimeofday (struct timeval *tp, struct timezone *tzp
+_gettimeofday (struct timeval *tp, void *tzp
${r}gettimeofday (tp, tzp))
EOF
cat > isatty.c <<EOF
diff --git a/libgloss/cris/linunistd.h b/libgloss/cris/linunistd.h
index 039679d4d..4d664a251 100644
--- a/libgloss/cris/linunistd.h
+++ b/libgloss/cris/linunistd.h
@@ -413,7 +413,7 @@ static inline _syscall1(long,mmap,long *, buf)
struct timeval;
struct timezone;
static inline _syscall2(int,gettimeofday,struct timeval *,tp,
- struct timezone *, tzp)
+ void *, tzp)
static inline _syscall2(int,link,const char *,old,const char *,new)
static inline _syscall1(int,unlink,const char *, f)
struct rusage;