*** empty log message ***
[yaffs/.git] / utils / mkyaffs.c
index 91a3c9d04ac5b7a3077fc7f442b5ba1538e10329..8b7350d6bc1430dbeb19046af8d906146eda9352 100644 (file)
@@ -34,7 +34,7 @@
 #include <linux/config.h>
 #include <linux/mtd/mtd.h>
 
-cost char *mkyaffs_c_version = "$Id: mkyaffs.c,v 1.3 2002-09-27 20:50:50 charles Exp $";
+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.
@@ -74,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};