summaryrefslogtreecommitdiff
path: root/fs/yaffs2/direct/yaffs_malloc.h
diff options
context:
space:
mode:
authorWilliam Juul <william.juul@datarespons.no>2007-11-15 12:23:57 +0100
committerScott Wood <scottwood@freescale.com>2008-08-12 11:31:19 -0500
commit90ef117b68387d66763291af0117677644166611 (patch)
tree829e4954f6d1b0976734c0d2ef2b2bbd173d7572 /fs/yaffs2/direct/yaffs_malloc.h
parent0e8cc8bd92257da2e1df88cbc985e166e472ce61 (diff)
Incorporate yaffs2 into U-boot
To use YAFFS2 define CONFIG_YAFFS2 Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'fs/yaffs2/direct/yaffs_malloc.h')
-rw-r--r--fs/yaffs2/direct/yaffs_malloc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/yaffs2/direct/yaffs_malloc.h b/fs/yaffs2/direct/yaffs_malloc.h
index 245f9c963..122fb4c06 100644
--- a/fs/yaffs2/direct/yaffs_malloc.h
+++ b/fs/yaffs2/direct/yaffs_malloc.h
@@ -14,8 +14,11 @@
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*/
+/* XXX U-BOOT XXX */
+#if 0
#include <stdlib.h>
-
+#endif
+
void *yaffs_malloc(size_t size);
void yaffs_free(void *ptr);