blob: 3ed6175163aa001320f78c36cc82743dd2cc5368 [file] [log] [blame]
William Juul0e8cc8b2007-11-15 11:13:05 +01001#ifndef __YAFFS_MALLOC_H__
2/*
Wolfgang Denk4b070802008-08-14 14:41:06 +02003 * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
William Juul0e8cc8b2007-11-15 11:13:05 +01004 *
5 * Copyright (C) 2002-2007 Aleph One Ltd.
6 * for Toby Churchill Ltd and Brightstar Engineering
7 *
8 * Created by Charles Manning <charles@aleph1.co.uk>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License version 2.1 as
12 * published by the Free Software Foundation.
13 *
14 * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
15 */
Wolfgang Denk4b070802008-08-14 14:41:06 +020016
William Juul90ef1172007-11-15 12:23:57 +010017/* XXX U-BOOT XXX */
18#if 0
William Juul0e8cc8b2007-11-15 11:13:05 +010019#include <stdlib.h>
William Juul0e8cc8b2007-11-15 11:13:05 +010020#endif
21
Wolfgang Denk4b070802008-08-14 14:41:06 +020022void *yaffs_malloc(size_t size);
23void yaffs_free(void *ptr);
24
25#endif