Rename utils.c to printf-utils.c, remove unused functions

This commit is contained in:
Pali Rohár committed 2012-08-10 12:03:30 +02:00
1 parent ad68e324c6
commit 3ce8ca13f1
7 files changed
+63 -47

No files matched your search

+3 -2
View File
@@ -25,6 +25,7 @@
#include "nolo.h"
#include "image.h"
#include "printf-utils.h"
#include "hexdump.h"
@@ -182,7 +183,7 @@ void nolo_flash_image(struct image * image)
// fclose(fd);
return;
}
progressbar(off, size);
printf_progressbar(off, size);
if (bread<0) {
printf("\n");
perror(" -ee- ");
@@ -194,7 +195,7 @@ void nolo_flash_image(struct image * image)
// fclose(fd);
/*/ EOF */
usb_bulk_write(dev, 2, (char *)nolofiller, 0, 1000);
progressbar(1, 1);
printf_progressbar(1, 1);
printf("\n");
// index = 4????