forked from Imagelibrary/binutils-gdb
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:
@@ -198,7 +198,7 @@ struct language_defn
|
||||
|
||||
/* Print a type using syntax appropriate for this language. */
|
||||
|
||||
void (*la_print_type) (struct type *, char *, struct ui_file *, int,
|
||||
void (*la_print_type) (struct type *, const char *, struct ui_file *, int,
|
||||
int);
|
||||
|
||||
/* Print a typedef using syntax appropriate for this language.
|
||||
|
||||
Reference in New Issue
Block a user