summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/ui/progress.h')
-rw-r--r--tools/perf/util/ui/progress.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/perf/util/ui/progress.h b/tools/perf/util/ui/progress.h
index a3820a0..d9c205b 100644
--- a/tools/perf/util/ui/progress.h
+++ b/tools/perf/util/ui/progress.h
@@ -1,11 +1,8 @@
#ifndef _PERF_UI_PROGRESS_H_
#define _PERF_UI_PROGRESS_H_ 1
-struct ui_progress;
+#include <../types.h>
-struct ui_progress *ui_progress__new(const char *title, u64 total);
-void ui_progress__delete(struct ui_progress *self);
-
-void ui_progress__update(struct ui_progress *self, u64 curr);
+void ui_progress__update(u64 curr, u64 total, const char *title);
#endif
OpenPOWER on IntegriCloud