From 7e9355c669fa0c9e362b40b60cb3268605e2f12e Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sun, 19 Nov 2000 12:56:21 +0000 Subject: java-tree.h (cyclic_inheritance_report): Constify. * java-tree.h (cyclic_inheritance_report): Constify. * parse.y (cyclic_inheritance_report): Likewise. From-SVN: r37564 --- gcc/java/ChangeLog | 5 +++++ gcc/java/java-tree.h | 2 +- gcc/java/parse.y | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc/java') diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 6c482f4..02a5e6c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2000-11-19 Kaveh R. Ghazi + + * java-tree.h (cyclic_inheritance_report): Constify. + * parse.y (cyclic_inheritance_report): Likewise. + 2000-11-17 Zack Weinberg * parse.y (goal): Remove call to ggc_add_string_root. diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 2753367..fa898f8 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -604,7 +604,7 @@ extern struct CPool *outgoing_cpool; #define wfl_operator \ java_global_trees[JTI_WFL_OPERATOR] -extern char *cyclic_inheritance_report; +extern const char *cyclic_inheritance_report; struct lang_identifier { diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 8f5eca1..c02648f 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -334,7 +334,7 @@ int java_warning_count; /* Tell when not to fold, when doing xrefs */ int do_not_fold; /* Cyclic inheritance report, as it can be set by layout_class */ -char *cyclic_inheritance_report; +const char *cyclic_inheritance_report; /* Tell when we're within an instance initializer */ static int in_instance_initializer; -- cgit v1.1