summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yaffs_malloc.h
diff options
context:
space:
mode:
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