X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_ecc.h;h=b0c461d699e674159363119b4ef999c8c6fddadb;hp=c2d001368cb62e89b884e567f7a8c25acb10d9d8;hb=73a3c763b22ab4e330dfea929e5df5c7c6c42432;hpb=757a553001be4016e9c5d8880648d3703f34b10e diff --git a/yaffs_ecc.h b/yaffs_ecc.h index c2d0013..b0c461d 100644 --- a/yaffs_ecc.h +++ b/yaffs_ecc.h @@ -30,15 +30,15 @@ struct yaffs_ecc_other { unsigned char col_parity; unsigned line_parity; unsigned line_parity_prime; -} ; +}; void yaffs_ecc_cacl(const unsigned char *data, unsigned char *ecc); int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc, - const unsigned char *test_ecc); + const unsigned char *test_ecc); void yaffs_ecc_calc_other(const unsigned char *data, unsigned n_bytes, - struct yaffs_ecc_other *ecc); + struct yaffs_ecc_other *ecc); int yaffs_ecc_correct_other(unsigned char *data, unsigned n_bytes, - struct yaffs_ecc_other *read_ecc, - const struct yaffs_ecc_other *test_ecc); + struct yaffs_ecc_other *read_ecc, + const struct yaffs_ecc_other *test_ecc); #endif