From 3a3bb6eb36a29e3201bfc4cc53e341f4f98e6cf1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 11 Feb 2022 18:14:17 -0700 Subject: Remove c_printstr This renames c_printstr, removing a layer of indirection. --- gdb/c-lang.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/c-lang.c') diff --git a/gdb/c-lang.c b/gdb/c-lang.c index d6c56f3..437f79c 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -190,10 +190,10 @@ language_defn::printchar (int c, struct type *type, characters, or if FORCE_ELLIPSES. */ void -c_printstr (struct ui_file *stream, struct type *type, - const gdb_byte *string, unsigned int length, - const char *user_encoding, int force_ellipses, - const struct value_print_options *options) +language_defn::printstr (struct ui_file *stream, struct type *type, + const gdb_byte *string, unsigned int length, + const char *user_encoding, int force_ellipses, + const struct value_print_options *options) const { c_string_type str_type; const char *type_encoding; -- cgit v1.1