projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix copyright
[yaffs2.git]
/
direct
/
test-framework
/
yaffs_osglue.c
diff --git
a/direct/test-framework/yaffs_osglue.c
b/direct/test-framework/yaffs_osglue.c
index e31ad222a99572c4a6c0ec5204dc0ff51decdce9..ca5efc069e366f87479544923cb1bc6f7f6596a1 100644
(file)
--- a/
direct/test-framework/yaffs_osglue.c
+++ b/
direct/test-framework/yaffs_osglue.c
@@
-1,8
+1,7
@@
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
/*
* 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>
*
*
* 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)
{
*/
int yaffsfs_CheckMemRegion(const void *addr, size_t size, int write_request)
{
+ (void) size;
+ (void) write_request;
+
if(!addr)
return -1;
return 0;
if(!addr)
return -1;
return 0;
@@
-91,6
+93,8
@@
static void *bg_gc_func(void *dummy)
int result;
int next_urgent;
int result;
int next_urgent;
+ (void)dummy;
+
/* Sleep for a bit to allow start up */
sleep(2);
/* Sleep for a bit to allow start up */
sleep(2);