summaryrefslogtreecommitdiffstats
path: root/libgloss/cris
diff options
context:
space:
mode:
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;