projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Huge cleanup of type warnings etc.
[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..e686bd72b10947651eac64847c26296e974db5f1 100644
(file)
--- a/
direct/test-framework/yaffs_osglue.c
+++ b/
direct/test-framework/yaffs_osglue.c
@@
-53,6
+53,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)
{
+ YAFFS_UNUSED(size);
+ YAFFS_UNUSED(write_request);
+
if(!addr)
return -1;
return 0;
if(!addr)
return -1;
return 0;
@@
-91,6
+94,8
@@
static void *bg_gc_func(void *dummy)
int result;
int next_urgent;
int result;
int next_urgent;
+ YAFFS_UNUSED(dummy);
+
/* Sleep for a bit to allow start up */
sleep(2);
/* Sleep for a bit to allow start up */
sleep(2);