yaffs Changed the logical error handling paths in yaffsfs.c
[yaffs2.git] / direct / yaffsfs.h
index 50b5cbcd8eac356c859043a48bf76e45007e76d2..e9e40f96d5837aaa63721d1e94819e40bb6ee1cc 100644 (file)
@@ -171,6 +171,7 @@ void yaffs_add_device(struct yaffs_dev *dev);
 
 int yaffs_start_up(void);
 int yaffsfs_GetLastError(void);
+int yaffs_set_error(int error);
 /* Function to get the last error */
 int yaffs_get_error(void);