X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_packedtags1.c;h=bab338f815caf6e5e8dcfade41ceeabe485004a9;hp=018eacf99d7671bbe61c1626f91fae3f402672ad;hb=71735099f6e4f4eb6037852a0590223224f22382;hpb=f216bcabdaf791aa93ad2e58c1d747d2d8bd6617 diff --git a/yaffs_packedtags1.c b/yaffs_packedtags1.c index 018eacf..bab338f 100644 --- a/yaffs_packedtags1.c +++ b/yaffs_packedtags1.c @@ -1,7 +1,7 @@ #include "yaffs_packedtags1.h" #include "yportenv.h" -void yaffs_PackTags1(yaffs_PackedTags1 *pt, yaffs_ExtendedTags *t) +void yaffs_PackTags1(yaffs_PackedTags1 *pt, const yaffs_ExtendedTags *t) { pt->chunkId = t->chunkId; pt->serialNumber = t->serialNumber; @@ -14,7 +14,7 @@ void yaffs_PackTags1(yaffs_PackedTags1 *pt, yaffs_ExtendedTags *t) } -void yaffs_UnpackTags1(yaffs_ExtendedTags *t, yaffs_PackedTags1 *pt) +void yaffs_UnpackTags1(yaffs_ExtendedTags *t, const yaffs_PackedTags1 *pt) { static const __u8 allFF[] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,0xff, 0xff, 0xff, 0xff};