* java-tree.h (cyclic_inheritance_report): Constify.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Nov 2000 12:56:21 +0000 (12:56 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Nov 2000 12:56:21 +0000 (12:56 +0000)
* 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
gcc/java/java-tree.h
gcc/java/parse.y

index 6c482f4..02a5e6c 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 2753367..fa898f8 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 8f5eca1..c02648f 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;