Remove vfprintf_styled

Nothing calls vfprintf_styled any more, so remove it.
This commit is contained in:
Tom Tromey 2022-01-02 13:56:42 -07:00
parent 7e9e74b6a8
commit 179d59a3ee
2 changed files with 0 additions and 17 deletions

View file

@ -1837,17 +1837,6 @@ fprintf_styled (struct ui_file *stream, const ui_file_style &style,
stream->emit_style_escape (ui_file_style ());
}
/* See utils.h. */
void
vfprintf_styled (struct ui_file *stream, const ui_file_style &style,
const char *format, va_list args)
{
stream->emit_style_escape (style);
gdb_vprintf (stream, format, args);
stream->emit_style_escape (ui_file_style ());
}
void
gdb_printf (const char *format, ...)
{

View file

@ -271,12 +271,6 @@ extern void fprintf_styled (struct ui_file *stream,
...)
ATTRIBUTE_PRINTF (3, 4);
extern void vfprintf_styled (struct ui_file *stream,
const ui_file_style &style,
const char *fmt,
va_list args)
ATTRIBUTE_PRINTF (3, 0);
/* Like gdb_puts, but styles the output according to STYLE, when
appropriate. */