summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-28 23:33:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-01-28 23:33:22 +0000
commit52d99d4a34509e963b1187ccad6c3f67ac7fa329 (patch)
tree476601e1c535dffff88402938f9fba0c67063a68 /c
parentnew file used by gcc 2.8.x -specs option (diff)
downloadrtems-52d99d4a34509e963b1187ccad6c3f67ac7fa329.tar.bz2
Switch to using newlib's implementation of time().
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/posix/src/time.c3
1 files changed, 3 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
*