From: Sebastian Huber --- rtems/rtems_yaffs.c | 12 ------------ rtems/rtems_yaffs_os_glue.c | 4 ++-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/rtems/rtems_yaffs.c b/rtems/rtems_yaffs.c index d74d369..66071a5 100644 --- a/rtems/rtems_yaffs.c +++ b/rtems/rtems_yaffs.c @@ -36,18 +36,6 @@ #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) diff --git a/rtems/rtems_yaffs_os_glue.c b/rtems/rtems_yaffs_os_glue.c index 7b3f6e9..ff57d1d 100644 --- a/rtems/rtems_yaffs_os_glue.c +++ b/rtems/rtems_yaffs_os_glue.c @@ -30,12 +30,12 @@ unsigned int yaffs_trace_mask = YAFFS_TRACE_BAD_BLOCKS | YAFFS_TRACE_ALWAYS; unsigned int yaffs_wr_attempts; -void *yaffs_malloc(size_t size) +void *yaffsfs_malloc(size_t size) { return malloc(size); } -void yaffs_free(void *ptr) +void yaffsfs_free(void *ptr) { free(ptr); } -- 1.7.4.1