William Juul | 0e8cc8b | 2007-11-15 11:13:05 +0100 | [diff] [blame] | 1 | #ifndef __YAFFS_MALLOC_H__ |
| 2 | /* |
Wolfgang Denk | 4b07080 | 2008-08-14 14:41:06 +0200 | [diff] [blame] | 3 | * YAFFS: Yet another Flash File System . A NAND-flash specific file system. |
William Juul | 0e8cc8b | 2007-11-15 11:13:05 +0100 | [diff] [blame] | 4 | * |
| 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 Denk | 4b07080 | 2008-08-14 14:41:06 +0200 | [diff] [blame] | 16 | |
William Juul | 90ef117 | 2007-11-15 12:23:57 +0100 | [diff] [blame] | 17 | /* XXX U-BOOT XXX */ |
| 18 | #if 0 |
William Juul | 0e8cc8b | 2007-11-15 11:13:05 +0100 | [diff] [blame] | 19 | #include <stdlib.h> |
William Juul | 0e8cc8b | 2007-11-15 11:13:05 +0100 | [diff] [blame] | 20 | #endif |
| 21 | |
Wolfgang Denk | 4b07080 | 2008-08-14 14:41:06 +0200 | [diff] [blame] | 22 | void *yaffs_malloc(size_t size); |
| 23 | void yaffs_free(void *ptr); |
| 24 | |
| 25 | #endif |