From b0913397bae1fb85a5e4568946efae03f918bcaf Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 26 Jan 2001 02:03:58 +0000 Subject: * libc/sys/sh/syscalls.c (_times): New. --- newlib/libc/sys/sh/syscalls.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'newlib/libc/sys/sh/syscalls.c') 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) { -- cgit v1.2.3