Merge in yaffsfs.c changes
[yaffs2.git] / direct / basic-test / yaffs_osglue.c
index 4a149e277588dd9bc4387bcfe02c57eb3a495186..4c2e442033f8cc03be314a90295798f70148613f 100644 (file)
@@ -37,6 +37,13 @@ int yaffsfs_GetLastError(void)
        return yaffsfs_lastError;
 }
 
+int yaffsfs_CheckMemRegion(const void *addr, size_t size, int writeable)
+{
+       if(!addr)
+               return -1;
+       return 0;
+}
+
 
 #ifdef CONFIG_YAFFS_USE_PTHREADS
 #include <pthread.h>