aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-03-01 19:22:22 +0000
committerTom Tromey <tromey@redhat.com>2012-03-01 19:22:22 +0000
commit8e069a981cbb9b33ccfbdd82ad7da5ce8b0c35b2 (patch)
tree6108ae13fd153220a3cc8249808bfce343b25bb1 /gdb/language.c
parentbe3359361a4b5306207e896b3966e03289340abc (diff)
downloadgdb-8e069a981cbb9b33ccfbdd82ad7da5ce8b0c35b2.zip
gdb-8e069a981cbb9b33ccfbdd82ad7da5ce8b0c35b2.tar.gz
gdb-8e069a981cbb9b33ccfbdd82ad7da5ce8b0c35b2.tar.bz2
* 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) <la_value_print>: 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.
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/language.c b/gdb/language.c
index 49ba21a..f312a16 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)
{