X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_ecc.c;fp=yaffs_ecc.c;h=290f8d34644242f53a66d997b57f9e93167633ca;hp=35f8747040771f8a11d68a3bf28d908c288b4512;hb=757a553001be4016e9c5d8880648d3703f34b10e;hpb=9131fecc79ad4e5fbdb775cdc067bc80aae5adb8 diff --git a/yaffs_ecc.c b/yaffs_ecc.c index 35f8747..290f8d3 100644 --- a/yaffs_ecc.c +++ b/yaffs_ecc.c @@ -246,7 +246,7 @@ int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc, * ECCxxxOther does ECC calcs on arbitrary n bytes of data */ void yaffs_ecc_calc_other(const unsigned char *data, unsigned n_bytes, - yaffs_ecc_other *ecc_other) + struct yaffs_ecc_other *ecc_other) { unsigned int i; @@ -273,8 +273,8 @@ void yaffs_ecc_calc_other(const unsigned char *data, unsigned n_bytes, } int yaffs_ecc_correct_other(unsigned char *data, unsigned n_bytes, - yaffs_ecc_other *read_ecc, - const yaffs_ecc_other *test_ecc) + struct yaffs_ecc_other *read_ecc, + const struct yaffs_ecc_other *test_ecc) { unsigned char delta_col; /* column parity delta */ unsigned delta_line; /* line parity delta */