summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-11-02 15:16:48 +1300
committerCharles Manning <cdhmanning@gmail.com>2010-11-02 15:16:48 +1300
commit757a553001be4016e9c5d8880648d3703f34b10e (patch)
tree36d0c4b5af991bab33a848e552e46bab849ab128 /utils
parent9131fecc79ad4e5fbdb775cdc067bc80aae5adb8 (diff)
yaffs: More clean up
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/mkyaffs2image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mkyaffs2image.c b/utils/mkyaffs2image.c
index 2d2da43..fa2229b 100644
--- a/utils/mkyaffs2image.c
+++ b/utils/mkyaffs2image.c
@@ -172,7 +172,7 @@ static void little_to_big_endian(struct yaffs_ext_tags *tagsPtr)
#endif
}
-static void shuffle_oob(char *spareData, yaffs_packed_tags2 *pt)
+static void shuffle_oob(char *spareData, struct yaffs_packed_tags2 *pt)
{
assert(sizeof(*pt) <= spareSize);
// NAND LAYOUT: For non-trivial OOB orderings, here would be a good place to shuffle.
@@ -182,7 +182,7 @@ static void shuffle_oob(char *spareData, yaffs_packed_tags2 *pt)
static int write_chunk(u8 *data, u32 id, u32 chunk_id, u32 n_bytes)
{
struct yaffs_ext_tags t;
- yaffs_packed_tags2 pt;
+ struct yaffs_packed_tags2 pt;
char spareData[spareSize];
if (write(outFile,data,chunkSize) != chunkSize)