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/jv-valprint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/jv-valprint.c') diff --git a/gdb/jv-valprint.c b/gdb/jv-valprint.c index 7f6e93113de..125e611388f 100644 --- a/gdb/jv-valprint.c +++ b/gdb/jv-valprint.c @@ -33,7 +33,7 @@ /* Local functions */ -int +void java_value_print (struct value *val, struct ui_file *stream, const struct value_print_options *options) { @@ -205,7 +205,7 @@ java_value_print (struct value *val, struct ui_file *stream, fprintf_filtered (stream, "}"); - return 0; + return; } /* If it's type String, print it. */ @@ -245,12 +245,12 @@ java_value_print (struct value *val, struct ui_file *stream, val_print_string (char_type, NULL, data + boffset, count, stream, options); - return 0; + return; } opts = *options; opts.deref_ref = 1; - return common_val_print (val, stream, 0, &opts, current_language); + common_val_print (val, stream, 0, &opts, current_language); } /* TYPE, VALADDR, ADDRESS, STREAM, RECURSE, and OPTIONS have the -- cgit v1.2.1