From 3ce8ca13f1fa1b8e694b23a4e287f146e7311a85 Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Fri, 10 Aug 2012 12:03:30 +0200 Subject: Rename utils.c to printf-utils.c, remove unused functions --- src/nolo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nolo.c') diff --git a/src/nolo.c b/src/nolo.c index e74e2dd..c93139c 100644 --- a/src/nolo.c +++ b/src/nolo.c @@ -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???? -- cgit v1.2.3