X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_packedtags1.h;h=b80f0a5b15740f0e38deabd18400aef65667d470;hp=01f952a7a33ab59da40a29b13f8237cd934f46e8;hb=cabb7b51f48a784fbd8bd04ea8878abe2196167a;hpb=976dbeae825b18e6759f3903073a6784248cc244 diff --git a/yaffs_packedtags1.h b/yaffs_packedtags1.h index 01f952a..b80f0a5 100644 --- a/yaffs_packedtags1.h +++ b/yaffs_packedtags1.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -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,10 @@ typedef struct { unsigned unused_stuff:1; unsigned should_be_ff; -} yaffs_packed_tags1; +}; -void yaffs_pack_tags1(yaffs_packed_tags1 *pt, const struct yaffs_ext_tags *t); -void yaffs_unpack_tags1(struct 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