Add missing progress bar API's

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-06-06 17:39:31 +02:00
1 parent 6e558e98f0
commit 16ae343df2
1 file changed
+3
+3
View File
@@ -82,6 +82,9 @@ void *reallocarray(void *optr, size_t nmemb, size_t size);
int tree(char *path, int show_perms); int tree(char *path, int show_perms);
void progress (int percent, int max_width);
void progress_simple(int percent);
#ifndef touch #ifndef touch
# define touch(x) do { if (mknod((x), S_IFREG|0644, 0) && errno != EEXIST) warn("Failed creating %s", x); } while (0) # define touch(x) do { if (mknod((x), S_IFREG|0644, 0) && errno != EEXIST) warn("Failed creating %s", x); } while (0)
#endif #endif