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