Remove mi_version function

The mi_version function is unused, and I think it's better overall if
it is never used.  This patch removes it.  Tested by rebuilding.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
Tom Tromey 2023-03-20 12:26:23 -06:00
parent 505ca0bfa5
commit 145674b325
2 changed files with 0 additions and 7 deletions

View File

@ -360,12 +360,6 @@ as_mi_ui_out (ui_out *uiout)
return gdb::checked_static_cast<mi_ui_out *> (uiout);
}
int
mi_version (ui_out *uiout)
{
return as_mi_ui_out (uiout)->version ();
}
void
mi_out_put (ui_out *uiout, struct ui_file *stream)
{

View File

@ -145,7 +145,6 @@ class mi_ui_out : public ui_out
Return nullptr if an invalid version is provided. */
mi_ui_out *mi_out_new (const char *mi_version);
int mi_version (ui_out *uiout);
void mi_out_put (ui_out *uiout, struct ui_file *stream);
void mi_out_rewind (ui_out *uiout);