Huge cleanup of type warnings etc.
[yaffs2.git] / direct / test-framework / yaffs_osglue.c
index e31ad222a99572c4a6c0ec5204dc0ff51decdce9..e686bd72b10947651eac64847c26296e974db5f1 100644 (file)
@@ -53,6 +53,9 @@ int yaffsfs_GetLastError(void)
  */
 int yaffsfs_CheckMemRegion(const void *addr, size_t size, int write_request)
 {
+       YAFFS_UNUSED(size);
+       YAFFS_UNUSED(write_request);
+
        if(!addr)
                return -1;
        return 0;
@@ -91,6 +94,8 @@ static void *bg_gc_func(void *dummy)
        int result;
        int next_urgent;
 
+       YAFFS_UNUSED(dummy);
+
        /* Sleep for a bit to allow start up */
        sleep(2);