summaryrefslogtreecommitdiff
path: root/gdb/c-typeprint.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-06-14 08:26:54 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-06-14 08:26:54 +0000
commit0ef30c31f687cd60f5d3c2f0a888b80929c14b6f (patch)
treeaa4dc5f2c8ede6f7a3b058ab2db0b35dc8f7f035 /gdb/c-typeprint.c
parentc078a267cf7d3bd4c051f0fdb629980231703313 (diff)
downloadgdb-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/c-typeprint.c')
-rw-r--r--gdb/c-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index 2697c3a4798..9a6bc6d627a 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -56,7 +56,7 @@ static void c_type_print_modifier (struct type *, struct ui_file *,
/* LEVEL is the depth to indent lines by. */
void
-c_print_type (struct type *type, char *varstring, struct ui_file *stream,
+c_print_type (struct type *type, const char *varstring, struct ui_file *stream,
int show, int level)
{
enum type_code code;