Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Moved memory management.
  • Loading branch information
sebhub committed Sep 7, 2011
1 parent 3849a10 commit 33cc35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions rtems/rtems_yaffs.c
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions rtems/rtems_yaffs_os_glue.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 33cc35a

Please sign in to comment.