X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_packedtags1.h;h=9174837d4b2aa5300710a684f40702ae65b37183;hb=757a553001be4016e9c5d8880648d3703f34b10e;hp=50f32e83d50a0516556eedfcaf9e3a30787423fa;hpb=a5bab2056ca3c68d3e15568f81a6e1d697d23da5;p=yaffs2.git diff --git a/yaffs_packedtags1.h b/yaffs_packedtags1.h index 50f32e8..9174837 100644 --- a/yaffs_packedtags1.h +++ b/yaffs_packedtags1.h @@ -20,7 +20,7 @@ #include "yaffs_guts.h" -typedef struct { +struct yaffs_packed_tags1 { unsigned chunk_id:20; unsigned serial_number:2; unsigned n_bytes:10; @@ -30,8 +30,8 @@ typedef struct { unsigned unused_stuff:1; unsigned should_be_ff; -} yaffs_packed_tags1; +} ; -void yaffs_pack_tags1(yaffs_packed_tags1 *pt, const yaffs_ext_tags *t); -void yaffs_unpack_tags1(yaffs_ext_tags *t, const yaffs_packed_tags1 *pt); +void yaffs_pack_tags1(struct yaffs_packed_tags1 *pt, const struct yaffs_ext_tags *t); +void yaffs_unpack_tags1(struct yaffs_ext_tags *t, const struct yaffs_packed_tags1 *pt); #endif