projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Clean up WinCE compilation issues
[yaffs2.git]
/
yaffs_guts.c
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index d65c0caa93f377f44c05ba49a7fe7f502d5207ca..b8a11b5d7cbe4dc189a837f72d1273a5c007f371 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-4896,7
+4896,7
@@
int yaffs_GetAttributes(yaffs_Object *obj, struct iattr *attr)
#endif
#endif
-static int yaffs_DoXMod(yaffs_Object *obj, int set, const
char
*name, const void *value, int size, int flags)
+static int yaffs_DoXMod(yaffs_Object *obj, int set, const
YCHAR
*name, const void *value, int size, int flags)
{
yaffs_XAttrMod xmod;
{
yaffs_XAttrMod xmod;
@@
-4935,7
+4935,7
@@
static int yaffs_ApplyXMod(yaffs_Device *dev, char *buffer, yaffs_XAttrMod *xmod
return retval;
}
return retval;
}
-static int yaffs_DoXFetch(yaffs_Object *obj, const
char
*name, void *value, int size)
+static int yaffs_DoXFetch(yaffs_Object *obj, const
YCHAR
*name, void *value, int size)
{
char *buffer = NULL;
int result;
{
char *buffer = NULL;
int result;
@@
-4971,17
+4971,17
@@
static int yaffs_DoXFetch(yaffs_Object *obj, const char *name, void *value, int
return retval;
}
return retval;
}
-int yaffs_SetXAttribute(yaffs_Object *obj, const
char
*name, const void * value, int size, int flags)
+int yaffs_SetXAttribute(yaffs_Object *obj, const
YCHAR
*name, const void * value, int size, int flags)
{
return yaffs_DoXMod(obj, 1, name, value, size, flags);
}
{
return yaffs_DoXMod(obj, 1, name, value, size, flags);
}
-int yaffs_RemoveXAttribute(yaffs_Object *obj, const
char
*name)
+int yaffs_RemoveXAttribute(yaffs_Object *obj, const
YCHAR
*name)
{
return yaffs_DoXMod(obj, 0, name, NULL, 0, 0);
}
{
return yaffs_DoXMod(obj, 0, name, NULL, 0, 0);
}
-int yaffs_GetXAttribute(yaffs_Object *obj, const
char
*name, void *value, int size)
+int yaffs_GetXAttribute(yaffs_Object *obj, const
YCHAR
*name, void *value, int size)
{
return yaffs_DoXFetch(obj, name, value, size);
}
{
return yaffs_DoXFetch(obj, name, value, size);
}