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) <la_print_type>: 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.
This commit is contained in:
parent
edee3f9217
commit
25b524e836
15 changed files with 39 additions and 20 deletions
|
@ -64,7 +64,7 @@ static void unk_lang_emit_char (int c, struct type *type,
|
|||
static void unk_lang_printchar (int c, struct type *type,
|
||||
struct ui_file *stream);
|
||||
|
||||
static void unk_lang_print_type (struct type *, char *, struct ui_file *,
|
||||
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 *,
|
||||
|
@ -1097,8 +1097,8 @@ unk_lang_printstr (struct ui_file *stream, struct type *type,
|
|||
}
|
||||
|
||||
static void
|
||||
unk_lang_print_type (struct type *type, char *varstring, struct ui_file *stream,
|
||||
int show, int level)
|
||||
unk_lang_print_type (struct type *type, const char *varstring,
|
||||
struct ui_file *stream, int show, int level)
|
||||
{
|
||||
error (_("internal error - unimplemented function unk_lang_print_type called."));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue