From be0e231fc490d5b36b7462a9e9b5e660d83bd0f1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 1 Mar 2012 19:22:22 +0000 Subject: * value.h (value_print): Return void. * valprint.c (value_print): Return void. * p-valprint.c (pascal_value_print): Return void. * p-lang.h (pascal_value_print): Return void. * language.h (struct language_defn) : Return void. * language.c (unk_lang_value_print): Return void. * jv-valprint.c (java_value_print): Return void. * jv-lang.h (java_value_print): Return void. * f-valprint.c (c_value_print): Don't declare. Include c-lang.h. * c-valprint.c (c_value_print): Return void. * c-lang.h (c_value_print): Return void. * ada-valprint.c (ada_value_print): Return void. * ada-lang.h (ada_value_print): Return void. --- gdb/language.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/language.c') diff --git a/gdb/language.c b/gdb/language.c index 49ba21ab070..f312a1643b4 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -66,8 +66,8 @@ static void unk_lang_printchar (int c, struct type *type, static void unk_lang_print_type (struct type *, const char *, struct ui_file *, int, int); -static int unk_lang_value_print (struct value *, struct ui_file *, - const struct value_print_options *); +static void unk_lang_value_print (struct value *, struct ui_file *, + const struct value_print_options *); static CORE_ADDR unk_lang_trampoline (struct frame_info *, CORE_ADDR pc); @@ -858,7 +858,7 @@ unk_lang_val_print (struct type *type, const gdb_byte *valaddr, "function unk_lang_val_print called.")); } -static int +static void unk_lang_value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) { -- cgit v1.2.1