X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=utils%2Fmkyaffs.c;h=8b7350d6bc1430dbeb19046af8d906146eda9352;hb=4ea0578f8af411adf56fdc1eb4af08f4e36c7eec;hp=3a0ed6776be3dd0a0d11f8022bf4613bb81d77b2;hpb=a1d28cf77fe06fe98cea4c4e80cc1cab94ea6736;p=yaffs%2F.git diff --git a/utils/mkyaffs.c b/utils/mkyaffs.c index 3a0ed67..8b7350d 100644 --- a/utils/mkyaffs.c +++ b/utils/mkyaffs.c @@ -34,6 +34,7 @@ #include #include +const char *mkyaffs_c_version = "$Id: mkyaffs.c,v 1.5 2002-12-13 00:13:06 charles Exp $"; // countBits is a quick way of counting the number of bits in a byte. // ie. countBits[n] holds the number of 1 bits in a byte with the value n. @@ -73,7 +74,7 @@ int main(int argc, char **argv) { unsigned long addr; unsigned long offset; - int bs, fd, i; + int fd; int img=-1; int imglen = 0; struct mtd_oob_buf oob = {0, 16, (unsigned char *) &oobbuf};