diff options
-rw-r--r-- | c/src/exec/posix/src/time.c | 3 | ||||
-rw-r--r-- | cpukit/posix/src/time.c | 3 |
2 files changed, 6 insertions, 0 deletions
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 * |