diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-01-26 02:03:58 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-01-26 02:03:58 +0000 |
commit | b0913397bae1fb85a5e4568946efae03f918bcaf (patch) | |
tree | 25b003301fb8c4680836f7b22871d4b6f2e6047f /newlib/libc/sys/sh/syscalls.c | |
parent | 610b895aa1cb734fd656c8fbb22c74eb97075bed (diff) | |
download | cygnal-b0913397bae1fb85a5e4568946efae03f918bcaf.tar.gz cygnal-b0913397bae1fb85a5e4568946efae03f918bcaf.tar.bz2 cygnal-b0913397bae1fb85a5e4568946efae03f918bcaf.zip |
* libc/sys/sh/syscalls.c (_times): New.
Diffstat (limited to 'newlib/libc/sys/sh/syscalls.c')
-rw-r--r-- | newlib/libc/sys/sh/syscalls.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/sys/sh/syscalls.c b/newlib/libc/sys/sh/syscalls.c index f9761145f..8380c7017 100644 --- a/newlib/libc/sys/sh/syscalls.c +++ b/newlib/libc/sys/sh/syscalls.c @@ -176,6 +176,14 @@ _pipe (int *fd) return __trap34 (SYS_pipe, fd); } +/* This is only provided because _gettimeofday_r and _times_r are + defined in the same module, so we avoid a link error. */ +clock_t +_times (struct tms *tp) +{ + return -1; +} + int _gettimeofday (struct timeval *tv, struct timezone *tz) { |