projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change locking to allow reentry during readdir
[yaffs2.git]
/
yaffs_tagsvalidity.c
diff --git
a/yaffs_tagsvalidity.c
b/yaffs_tagsvalidity.c
index c2ab2b0c15cbcd99331381739d44c9238b4d02fa..5233bcba8b3bb3dddff5425d29ecac1edc1be67f 100644
(file)
--- a/
yaffs_tagsvalidity.c
+++ b/
yaffs_tagsvalidity.c
@@
-9,19
+9,18
@@
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
- *
*/
#include "yaffs_tagsvalidity.h"
*/
#include "yaffs_tagsvalidity.h"
-void yaffs_InitialiseTags(yaffs_ExtendedTags *
tags)
+void yaffs_InitialiseTags(yaffs_ExtendedTags *tags)
{
memset(tags, 0, sizeof(yaffs_ExtendedTags));
tags->validMarker0 = 0xAAAAAAAA;
tags->validMarker1 = 0x55555555;
}
{
memset(tags, 0, sizeof(yaffs_ExtendedTags));
tags->validMarker0 = 0xAAAAAAAA;
tags->validMarker1 = 0x55555555;
}
-int yaffs_ValidateTags(yaffs_ExtendedTags *
tags)
+int yaffs_ValidateTags(yaffs_ExtendedTags *tags)
{
return (tags->validMarker0 == 0xAAAAAAAA &&
tags->validMarker1 == 0x55555555);
{
return (tags->validMarker0 == 0xAAAAAAAA &&
tags->validMarker1 == 0x55555555);