summaryrefslogtreecommitdiffstats
path: root/dimension/progressbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/progressbar.h')
-rw-r--r--dimension/progressbar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dimension/progressbar.h b/dimension/progressbar.h
index 9ee7d91..7f4948e 100644
--- a/dimension/progressbar.h
+++ b/dimension/progressbar.h
@@ -21,8 +21,11 @@
#define PROGRESSBAR_H
#include "../libdimension/dimension.h"
+#include "utility.h" /* For DMNSN_PRINTF_WARN */
/* Print a progress bar of the progress of `progress' */
-void dmnsn_progressbar(const char *str, const dmnsn_progress *progress);
+void dmnsn_progressbar(const char *format, const dmnsn_progress *progress,
+ ...)
+ DMNSN_PRINTF_WARN(1, 3);
#endif /* PROGRESSBAR_H */