summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yaffs_malloc.h
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2012-04-17 13:43:17 -0400
committerJustin Waters <justin.waters@timesys.com>2012-04-17 13:43:17 -0400
commit4f60d7e7027af17ceffc1a38e6dbe4e3e95c71ec (patch)
treedd33f3760e08226d5c05036d664d2d68fb3765dc /fs/yaffs2/yaffs_malloc.h
parentb1af6f532e0d348b153d5c148369229d24af361a (diff)
LogicPD Support for OMAP3/DM3/AM3 boards
From Logic BSP-2.0-5-01
Diffstat (limited to 'fs/yaffs2/yaffs_malloc.h')
-rw-r--r--fs/yaffs2/yaffs_malloc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/yaffs2/yaffs_malloc.h b/fs/yaffs2/yaffs_malloc.h
index 3ed6175163..67d09e82c0 100644
--- a/fs/yaffs2/yaffs_malloc.h
+++ b/fs/yaffs2/yaffs_malloc.h
@@ -19,7 +19,11 @@
#include <stdlib.h>
#endif
-void *yaffs_malloc(size_t size);
+#ifdef YAFFS_DEBUG_MALLOC
+extern void *yaffs_malloc(const char *func, int line, size_t size);
+#else
+extern void *yaffs_malloc(size_t size);
+#endif
void yaffs_free(void *ptr);
#endif