blob: 3ed6175163aa001320f78c36cc82743dd2cc5368 [file] [log] [blame]
William Juulc051bbe2007-11-15 11:13:05 +01001#ifndef __YAFFS_MALLOC_H__
2/*
Wolfgang Denk74e0dde2008-08-14 14:41:06 +02003 * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
William Juulc051bbe2007-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 Denk74e0dde2008-08-14 14:41:06 +020016
William Juule24ebad2007-11-15 12:23:57 +010017/* XXX U-BOOT XXX */
18#if 0
William Juulc051bbe2007-11-15 11:13:05 +010019#include <stdlib.h>
Wolfgang Denk74e0dde2008-08-14 14:41:06 +020020#endif
William Juule24ebad2007-11-15 12:23:57 +010021
Wolfgang Denk74e0dde2008-08-14 14:41:06 +020022void *yaffs_malloc(size_t size);
William Juulc051bbe2007-11-15 11:13:05 +010023void yaffs_free(void *ptr);
William Juulc051bbe2007-11-15 11:13:05 +010024
Wolfgang Denk74e0dde2008-08-14 14:41:06 +020025#endif