X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_ecc.c;h=290f8d34644242f53a66d997b57f9e93167633ca;hb=757a553001be4016e9c5d8880648d3703f34b10e;hp=35f8747040771f8a11d68a3bf28d908c288b4512;hpb=a5bab2056ca3c68d3e15568f81a6e1d697d23da5;p=yaffs2.git 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 */