From: Sebastien Bourdeauducq <
sebastien@milkymist.org>
---
rtems/rtems_yaffs.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/rtems/rtems_yaffs.c b/rtems/rtems_yaffs.c
index 66071a5..d74d369 100644
--- a/rtems/rtems_yaffs.c
+++ b/rtems/rtems_yaffs.c
@@ -36,6 +36,18 @@
#include "rtems_yaffs.h"
+/* memory management */
+
+void *yaffsfs_malloc(size_t size)
+{
+ return malloc(size);
+}
+
+void yaffsfs_free(void *ptr)
+{
+ free(ptr);
+}
+
/* locking */
static void ylock(struct yaffs_dev *dev)
--
1.7.4.1