aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-02-11 18:10:00 -0700
committerTom Tromey <tom@tromey.com>2022-10-10 10:43:34 -0600
commitc1c7fe59f67f5f4e3ca6f6fea1de46b983be8995 (patch)
tree39375e75f3ddaf1cabccf0d61b20172cf02f2df2 /gdb/c-lang.c
parent3a64633804aca8b4c4852241c70936177664c18a (diff)
downloadbinutils-c1c7fe59f67f5f4e3ca6f6fea1de46b983be8995.zip
binutils-c1c7fe59f67f5f4e3ca6f6fea1de46b983be8995.tar.gz
binutils-c1c7fe59f67f5f4e3ca6f6fea1de46b983be8995.tar.bz2
Remove c_emit_char
This renames c_emit_char, removing a layer of indirection.
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r--gdb/c-lang.c4
1 files changed, 2 insertions, 2 deletions
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;