Add missing function, if only stubs
authorcharles <charles>
Thu, 8 Oct 2009 01:57:59 +0000 (01:57 +0000)
committercharles <charles>
Thu, 8 Oct 2009 01:57:59 +0000 (01:57 +0000)
direct/yaffsfs.c

index 1da4d059049e4e3dc1acd238f2b04a9a7b4bfc67..c6eb37bebe3f6708787c6387c4fd0eac83cdfc24 100644 (file)
@@ -24,7 +24,7 @@
 #endif
 
 
 #endif
 
 
-const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.26 2009-09-23 23:24:55 charles Exp $";
+const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.27 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)
 {