aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-lang.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-06-14 08:26:57 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-06-14 08:26:57 +0000
commit25b524e8361ae202a314ea75c2d943a1988318f8 (patch)
tree5fb895d68bb0edd62cec89e08cd804572cee3eb4 /gdb/p-lang.h
parentedee3f9217248a6c6b1bcedafafafd11afb704d8 (diff)
downloadgdb-25b524e8361ae202a314ea75c2d943a1988318f8.zip
gdb-25b524e8361ae202a314ea75c2d943a1988318f8.tar.gz
gdb-25b524e8361ae202a314ea75c2d943a1988318f8.tar.bz2
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.
Diffstat (limited to 'gdb/p-lang.h')
-rw-r--r--gdb/p-lang.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/p-lang.h b/gdb/p-lang.h
index 0ea2fc9..7e076d5 100644
--- a/gdb/p-lang.h
+++ b/gdb/p-lang.h
@@ -30,7 +30,8 @@ extern int pascal_parse (void); /* Defined in p-exp.y */
extern void pascal_error (char *); /* Defined in p-exp.y */
/* Defined in p-typeprint.c */
-extern void pascal_print_type (struct type *, char *, struct ui_file *, int, int);
+extern void pascal_print_type (struct type *, const char *, struct ui_file *,
+ int, int);
extern void pascal_print_typedef (struct type *, struct symbol *,
struct ui_file *);