From ec96e4ed1757343dff78ed5ec7b70f1389da125c Mon Sep 17 00:00:00 2001 From: ghazi Date: Sun, 19 Nov 2000 12:56:21 +0000 Subject: [PATCH] * java-tree.h (cyclic_inheritance_report): Constify. * parse.y (cyclic_inheritance_report): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37564 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/java/ChangeLog | 5 +++++ gcc/java/java-tree.h | 2 +- gcc/java/parse.y | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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; -- 2.7.4