From: Sebastian Huber <
sebastian.huber@embedded-brains.de>
---
rtems/rtems_yaffs_os_glue.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/rtems/rtems_yaffs_os_glue.c b/rtems/rtems_yaffs_os_glue.c
index ff57d1d..467d8b1 100644
--- a/rtems/rtems_yaffs_os_glue.c
+++ b/rtems/rtems_yaffs_os_glue.c
@@ -20,8 +20,7 @@
*/
#include <stdlib.h>
-
-#include <rtems.h>
+#include <time.h>
#include "yaffs_trace.h"
#include "yaffs_osglue.h"
@@ -42,5 +41,5 @@ void yaffsfs_free(void *ptr)
u32 yaffsfs_CurrentTime(void)
{
- return rtems_clock_get_ticks_since_boot();
+ return time(NULL);
}
--
1.7.4.1