From 52d99d4a34509e963b1187ccad6c3f67ac7fa329 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 28 Jan 1997 23:33:22 +0000 Subject: Switch to using newlib's implementation of time(). --- c/src/exec/posix/src/time.c | 3 +++ cpukit/posix/src/time.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/c/src/exec/posix/src/time.c b/c/src/exec/posix/src/time.c index f184f200e8..acb4b507b1 100644 --- a/c/src/exec/posix/src/time.c +++ b/c/src/exec/posix/src/time.c @@ -89,6 +89,8 @@ void _POSIX_Interval_to_timespec( * 4.5.1 Get System Time, P1003.1b-1993, p. 91 */ +/* Using the implementation in newlib */ +#if 0 time_t time( time_t *tloc ) @@ -113,6 +115,7 @@ time_t time( return seconds_since_epoch; } +#endif /*PAGE * diff --git a/cpukit/posix/src/time.c b/cpukit/posix/src/time.c index f184f200e8..acb4b507b1 100644 --- a/cpukit/posix/src/time.c +++ b/cpukit/posix/src/time.c @@ -89,6 +89,8 @@ void _POSIX_Interval_to_timespec( * 4.5.1 Get System Time, P1003.1b-1993, p. 91 */ +/* Using the implementation in newlib */ +#if 0 time_t time( time_t *tloc ) @@ -113,6 +115,7 @@ time_t time( return seconds_since_epoch; } +#endif /*PAGE * -- cgit v1.2.3