yaffs_malloc.h 664 B

12345678910111213141516171819202122232425
  1. #ifndef __YAFFS_MALLOC_H__
  2. /*
  3. * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  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. */
  16. /* XXX U-BOOT XXX */
  17. #if 0
  18. #include <stdlib.h>
  19. #endif
  20. void *yaffs_malloc(size_t size);
  21. void yaffs_free(void *ptr);
  22. #endif