mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
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:
parent
505ca0bfa5
commit
145674b325
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user