]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
java-tree.h (cyclic_inheritance_report): Constify.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 19 Nov 2000 12:56:21 +0000 (12:56 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 19 Nov 2000 12:56:21 +0000 (12:56 +0000)
* java-tree.h (cyclic_inheritance_report): Constify.
* parse.y (cyclic_inheritance_report): Likewise.

From-SVN: r37564

gcc/java/ChangeLog
gcc/java/java-tree.h
gcc/java/parse.y

index 6c482f49fa630111e3ad565d96c57ce38102ecaa..02a5e6c90d99959ae2d1f2eb3b18f19ad55e7e90 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * java-tree.h (cyclic_inheritance_report): Constify.
+       * parse.y (cyclic_inheritance_report): Likewise.
+
 2000-11-17  Zack Weinberg  <zack@wolery.stanford.edu>
 
        * parse.y (goal): Remove call to ggc_add_string_root.
index 27533670b9e71dc9ad988175713ebd645f5c1636..fa898f8a68e4d7cd0b87c66b542c1dcb35bbcbc3 100644 (file)
@@ -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
 {
index 8f5eca1862f79e0d6111b6aab4aed8d5b9437d17..c02648feb7f47604cc6e484c5b0b9b0a46e8a31f 100644 (file)
@@ -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;