Remove fputs_styled_unfiltered

fputs_styled_unfiltered is only called from cli_ui_out, so remove it.
This area will be further simplified in future patches.
This commit is contained in:
Tom Tromey
2022-01-01 15:25:53 -07:00
parent 3cd5229387
commit f4bf8795b3
3 changed files with 10 additions and 21 deletions

View File

@ -1762,17 +1762,6 @@ fputs_styled (const char *linebuffer, const ui_file_style &style,
/* See utils.h. */
void
fputs_styled_unfiltered (const char *linebuffer, const ui_file_style &style,
struct ui_file *stream)
{
stream->emit_style_escape (style);
stream->puts_unfiltered (linebuffer);
stream->emit_style_escape (ui_file_style ());
}
/* See utils.h. */
void
fputs_highlighted (const char *str, const compiled_regex &highlight,
struct ui_file *stream)