projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing function, if only stubs
[yaffs2.git]
/
direct
/
yaffsfs.c
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index 1da4d059049e4e3dc1acd238f2b04a9a7b4bfc67..c6eb37bebe3f6708787c6387c4fd0eac83cdfc24 100644
(file)
--- a/
direct/yaffsfs.c
+++ b/
direct/yaffsfs.c
@@
-24,7
+24,7
@@
#endif
#endif
-const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.2
6 2009-09-23 23:24:55
charles Exp $";
+const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.2
7 2009-10-08 01:57:59
charles Exp $";
// configurationList is the list of devices that are supported
static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
// configurationList is the list of devices that are supported
static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
@@
-618,6
+618,11
@@
int yaffs_fsync(int fd)
return yaffs_Dofsync(fd,0);
}
return yaffs_Dofsync(fd,0);
}
+int yaffs_flush(int fd)
+{
+ return yaffs_fsync(fd);
+}
+
int yaffs_fdatasync(int fd)
{
return yaffs_Dofsync(fd,1);
int yaffs_fdatasync(int fd)
{
return yaffs_Dofsync(fd,1);
@@
-1971,7
+1976,10
@@
int yaffs_link(const YCHAR *oldpath, const YCHAR *newpath)
return retVal;
}
return retVal;
}
-int yaffs_mknod(const YCHAR *pathname, mode_t mode, dev_t dev);
+int yaffs_mknod(const YCHAR *pathname, mode_t mode, dev_t dev)
+{
+ return -1;
+}
int yaffs_DumpDevStruct(const YCHAR *path)
{
int yaffs_DumpDevStruct(const YCHAR *path)
{