X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffsfs.h;h=b670f11690282531e9c213566707342576ffe345;hp=2a6ae2720cdf036b4f0199da75c5c5688ad4bbfb;hb=14609dd277d69fdcddfb68bf465d06bb1cda82c7;hpb=a095ce00d3a3102807fe540f77e7ec17daba967f diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h index 2a6ae27..b670f11 100644 --- a/direct/yaffsfs.h +++ b/direct/yaffsfs.h @@ -155,6 +155,7 @@ typedef struct yaffs_dirent yaffs_dirent; typedef struct __opaque yaffs_DIR; + struct yaffs_stat{ int st_dev; /* device */ int st_ino; /* inode */ @@ -166,9 +167,9 @@ struct yaffs_stat{ off_t st_size; /* total size, in bytes */ unsigned long st_blksize; /* blocksize for filesystem I/O */ unsigned long st_blocks; /* number of blocks allocated */ - unsigned long st_atime; /* time of last access */ - unsigned long st_mtime; /* time of last modification */ - unsigned long st_ctime; /* time of last change */ + unsigned long yst_atime; /* time of last access */ + unsigned long yst_mtime; /* time of last modification */ + unsigned long yst_ctime; /* time of last change */ }; int yaffs_open(const char *path, int oflag, int mode) ;