/*
- * YAFFS: Yet another FFS. A NAND-flash specific file system.
- * ydirectenv.h: Environment wrappers for direct.
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
- * Copyright (C) 2002 Aleph One Ltd.
+ * Copyright (C) 2002-2007 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* it under the terms of the GNU Lesser General Public License version 2.1 as
* published by the Free Software Foundation.
*
- *
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
- *
- * $Id: ydirectenv.h,v 1.3 2006-05-21 09:39:12 charles Exp $
- *
*/
-
+
+/*
+ * ydirectenv.h: Environment wrappers for YAFFS direct.
+ */
+
#ifndef __YDIRECTENV_H__
#define __YDIRECTENV_H__
#define yaffs_sprintf sprintf
#define yaffs_toupper(a) toupper(a)
+#ifdef NO_Y_INLINE
+#define Y_INLINE
+#else
#define Y_INLINE inline
-
+#endif
#define YMALLOC(x) malloc(x)
#define YFREE(x) free(x)