yaffs: Change __uxx types to uxx
[yaffs2.git] / direct / yaffscfg.h
index 2a60dc132cb7e6617ca3826bc4322fef2a7f29e9..72687e2ef93fe4d0e379894228b954028d9918b5 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
 #define __YAFFSCFG_H__
 
 
+#include "yportenv.h"
 #include "devextras.h"
 
-#define YAFFSFS_N_HANDLES 200
+#define YAFFSFS_N_HANDLES 100
 
 
-typedef struct {
-       const char *prefix;
-       struct yaffs_DeviceStruct *dev;
+typedef struct yaffsfs_DeviceConfigurationStruct {
+       const YCHAR *prefix;
+       struct yaffs_dev_s *dev;
 } yaffsfs_DeviceConfiguration;
 
 
 void yaffsfs_Lock(void);
 void yaffsfs_Unlock(void);
 
-__u32 yaffsfs_CurrentTime(void);
+u32 yaffsfs_CurrentTime(void);
 
 void yaffsfs_SetError(int err);