Fix copyright
[yaffs2.git] / direct / test-framework / yaffs_osglue.c
index e31ad222a99572c4a6c0ec5204dc0ff51decdce9..ca5efc069e366f87479544923cb1bc6f7f6596a1 100644 (file)
@@ -1,8 +1,7 @@
 /*
  * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2011 Aleph One Ltd.
- *   for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
@@ -53,6 +52,9 @@ int yaffsfs_GetLastError(void)
  */
 int yaffsfs_CheckMemRegion(const void *addr, size_t size, int write_request)
 {
+       (void) size;
+       (void) write_request;
+
        if(!addr)
                return -1;
        return 0;
@@ -91,6 +93,8 @@ static void *bg_gc_func(void *dummy)
        int result;
        int next_urgent;
 
+       (void)dummy;
+
        /* Sleep for a bit to allow start up */
        sleep(2);