changeset 309:b21bd2a64496

Add missing function, if only stubs
author charles
date Thu, 08 Oct 2009 02:57:59 +0100
parents 63d50ebbae7d
children a097a8d2aa15 b644e5e824f4
files direct/yaffsfs.c
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/direct/yaffsfs.c
+++ b/direct/yaffsfs.c
@@ -618,6 +618,11 @@ int yaffs_fsync(int fd)
 	return yaffs_Dofsync(fd,0);
 }
 
+int yaffs_flush(int fd)
+{
+	return yaffs_fsync(fd);
+}
+
 int yaffs_fdatasync(int fd)
 {
 	return yaffs_Dofsync(fd,1);
@@ -1971,7 +1976,10 @@ int yaffs_link(const YCHAR *oldpath, con
 	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)
 {