From 25b524e8361ae202a314ea75c2d943a1988318f8 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 14 Jun 2010 08:26:57 +0000 Subject: gdb/ * ada-lang.h (ada_print_type): Make varstring const. * ada-typeprint.c (print_func_type): Make name const. (ada_print_type): Make varstring const. * c-lang.h (c_print_type): Make varstring const. * c-typeprint.c (c_print_type): Likewise. * f-lang.h (f_print_type): Likewise. * f-typeprint.c (f_print_type): Likewise. * jv-lang.h (java_print_type): Likewise. * jv-typeprint.c (java_print_type): Likewise. * language.c (unk_lang_print_type): Likewise. * language.h (struct language_defn) : Likewise. * m2-lang.h (m2_print_type): Likewise. * m2-typeprint.c (m2_print_type): Likewise. * p-lang.h (pascal_print_type): Likewise. * p-typeprint.c (pascal_print_type): Likewise. --- gdb/f-lang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/f-lang.h') diff --git a/gdb/f-lang.h b/gdb/f-lang.h index ee3d91f..f5bb82d 100644 --- a/gdb/f-lang.h +++ b/gdb/f-lang.h @@ -25,7 +25,7 @@ extern int f_parse (void); extern void f_error (char *); /* Defined in f-exp.y */ -extern void f_print_type (struct type *, char *, struct ui_file *, int, +extern void f_print_type (struct type *, const char *, struct ui_file *, int, int); extern int f_val_print (struct type *, const gdb_byte *, int, CORE_ADDR, -- cgit v1.1