perf ui browser: Add ui_browser__show counterpart: __hide
So that the common tasks of providing a helpline at __run entry and destroying the window and releasing resourses at exit can be abstracted away, reducing a bit more the coupling with libnewt. Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@ -16,7 +16,7 @@ void ui_helpline__push(const char *msg)
|
||||
newtPushHelpLine(msg);
|
||||
}
|
||||
|
||||
static void ui_helpline__vpush(const char *fmt, va_list ap)
|
||||
void ui_helpline__vpush(const char *fmt, va_list ap)
|
||||
{
|
||||
char *s;
|
||||
|
||||
|
Reference in New Issue
Block a user