From c5ee319e6cc7a02d35871896e8205e1f782fbc00 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 20 Oct 2020 13:33:36 +0100 Subject: gdb: rename c_printchar as language_defn::printchar This commit removes the global function c_printchar and moves the implementation into language_defn::printchar. There should be no user visible changes after this commit. gdb/ChangeLog: * c-lang.c (c_printchar): Rename to... (language_defn::printchar): ...this. * c-lang.h (c_printchar): Delete declaration. * language.c (language_defn::printchar): Delete this implementation. Is now implemented in c-lang.c. --- gdb/c-lang.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/c-lang.h') diff --git a/gdb/c-lang.h b/gdb/c-lang.h index 896f8e1f27e..23618a1e165 100644 --- a/gdb/c-lang.h +++ b/gdb/c-lang.h @@ -95,8 +95,6 @@ extern struct value *evaluate_subexp_c (struct type *expect_type, int *pos, enum noside noside); -extern void c_printchar (int, struct type *, struct ui_file *); - extern void c_printstr (struct ui_file * stream, struct type *elttype, const gdb_byte *string, -- cgit v1.2.1