Index: gdb/jv-typeprint.c |
diff --git a/gdb/jv-typeprint.c b/gdb/jv-typeprint.c |
index c48e736c24c98b6208703a75c5687e661ebf6c72..6d8ecdf496e551b366a148f5fe214550f2f888d6 100644 |
--- a/gdb/jv-typeprint.c |
+++ b/gdb/jv-typeprint.c |
@@ -39,7 +39,7 @@ static void java_type_print_base (struct type * type, |
static void |
java_type_print_derivation_info (struct ui_file *stream, struct type *type) |
{ |
- char *name; |
+ const char *name; |
int i; |
int n_bases; |
int prev; |
@@ -208,8 +208,8 @@ java_type_print_base (struct type *type, struct ui_file *stream, int show, |
{ |
struct fn_field *f; |
int j; |
- char *method_name; |
- char *name; |
+ const char *method_name; |
+ const char *name; |
int is_constructor; |
int n_overloads; |
@@ -329,9 +329,6 @@ java_type_print_base (struct type *type, struct ui_file *stream, int show, |
/* LEVEL is the depth to indent lines by. */ |
-extern void c_type_print_varspec_suffix (struct type *, struct ui_file *, |
- int, int, int); |
- |
void |
java_print_type (struct type *type, const char *varstring, |
struct ui_file *stream, int show, int level) |