Mercurial > yaffs-ecoscentric-gpl
changeset 292:977b18e93f2a
Add missing function, if only stubs
| author | charles <charles> |
|---|---|
| date | Thu, 08 Oct 2009 01:57:59 +0000 |
| parents | b2333fb73eea |
| children | e7c8eaebafd5 |
| files | direct/yaffsfs.c |
| diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -24,7 +24,7 @@ #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; @@ -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) {
