X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_tagsvalidity.c;fp=yaffs_tagsvalidity.c;h=787cdba370ccd182dd75e2b60a1a432e2317572a;hp=43ce44e941145b6394d1b43926e1969c556d1d4e;hb=f43976eda35065890e7cf0a008e9518158eb71d6;hpb=70c6bf2ff57c8a2fb778accdd5b4227abf273674 diff --git a/yaffs_tagsvalidity.c b/yaffs_tagsvalidity.c index 43ce44e..787cdba 100644 --- a/yaffs_tagsvalidity.c +++ b/yaffs_tagsvalidity.c @@ -13,16 +13,16 @@ #include "yaffs_tagsvalidity.h" -void yaffs_init_tags(yaffs_ExtendedTags *tags) +void yaffs_init_tags(yaffs_ext_tags *tags) { - memset(tags, 0, sizeof(yaffs_ExtendedTags)); - tags->validMarker0 = 0xAAAAAAAA; - tags->validMarker1 = 0x55555555; + memset(tags, 0, sizeof(yaffs_ext_tags)); + tags->validity1 = 0xAAAAAAAA; + tags->validty1 = 0x55555555; } -int yaffs_validate_tags(yaffs_ExtendedTags *tags) +int yaffs_validate_tags(yaffs_ext_tags *tags) { - return (tags->validMarker0 == 0xAAAAAAAA && - tags->validMarker1 == 0x55555555); + return (tags->validity1 == 0xAAAAAAAA && + tags->validty1 == 0x55555555); }