diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-14 08:26:54 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-06-14 08:26:54 +0000 |
commit | 0ef30c31f687cd60f5d3c2f0a888b80929c14b6f (patch) | |
tree | aa4dc5f2c8ede6f7a3b058ab2db0b35dc8f7f035 /gdb/p-typeprint.c | |
parent | c078a267cf7d3bd4c051f0fdb629980231703313 (diff) | |
download | gdb-0ef30c31f687cd60f5d3c2f0a888b80929c14b6f.tar.gz |
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-typeprint.c')
-rw-r--r-- | gdb/p-typeprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index fc54e01cafa..1792cf8e798 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -46,8 +46,8 @@ void pascal_type_print_varspec_prefix (struct type *, struct ui_file *, int, int /* LEVEL is the depth to indent lines by. */ void -pascal_print_type (struct type *type, char *varstring, struct ui_file *stream, - int show, int level) +pascal_print_type (struct type *type, const char *varstring, + struct ui_file *stream, int show, int level) { enum type_code code; int demangled_args; |