X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_packedtags1.h;h=ea43ad66373b831aebcef0c7adf1a946648b50c2;hp=5f6766862444fa2cc518b962a799dd405b11349c;hb=102ee9ef7f61177ab100570809d9dbde888e3904;hpb=f216bcabdaf791aa93ad2e58c1d747d2d8bd6617 diff --git a/yaffs_packedtags1.h b/yaffs_packedtags1.h index 5f67668..ea43ad6 100644 --- a/yaffs_packedtags1.h +++ b/yaffs_packedtags1.h @@ -3,26 +3,20 @@ #ifndef __YAFFS_PACKEDTAGS1_H__ #define __YAFFS_PACKEDTAGS1_H__ - #include "yaffs_guts.h" -typedef struct -{ - unsigned chunkId:20; - unsigned serialNumber:2; - unsigned byteCount:10; - unsigned objectId:18; - unsigned ecc:12; - unsigned deleted:1; - unsigned unusedStuff:1; - unsigned shouldBeFF; +typedef struct { + unsigned chunkId:20; + unsigned serialNumber:2; + unsigned byteCount:10; + unsigned objectId:18; + unsigned ecc:12; + unsigned deleted:1; + unsigned unusedStuff:1; + unsigned shouldBeFF; } yaffs_PackedTags1; - - -void yaffs_PackTags1(yaffs_PackedTags1 *pt, yaffs_ExtendedTags *t); -void yaffs_UnpackTags1(yaffs_ExtendedTags *t, yaffs_PackedTags1 *pt); +void yaffs_PackTags1(yaffs_PackedTags1 * pt, const yaffs_ExtendedTags * t); +void yaffs_UnpackTags1(yaffs_ExtendedTags * t, const yaffs_PackedTags1 * pt); #endif - -