From c1c7fe59f67f5f4e3ca6f6fea1de46b983be8995 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 11 Feb 2022 18:10:00 -0700 Subject: Remove c_emit_char This renames c_emit_char, removing a layer of indirection. --- gdb/c-lang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/c-lang.c') diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 88ccc8a..d6c56f3 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -144,8 +144,8 @@ classify_type (struct type *elttype, struct gdbarch *gdbarch, for printing characters and strings is language specific. */ void -c_emit_char (int c, struct type *type, - struct ui_file *stream, int quoter) +language_defn::emitchar (int c, struct type *type, + struct ui_file *stream, int quoter) const { const char *encoding; -- cgit v1.1