Add missing progress bar API's

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-06-06 17:39:31 +02:00
parent 6e558e98f0
commit 16ae343df2
+4 -1
View File
@@ -80,7 +80,10 @@ pid_t pidfile_poll (const char *pidfile);
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
# define touch(x) do { if (mknod((x), S_IFREG|0644, 0) && errno != EEXIST) warn("Failed creating %s", x); } while (0)