summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-21 20:18:21 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-21 20:18:21 +0000
commitb14b6cce5ffb340519c8125c07293b9b08b7c845 (patch)
tree5edd55c7d7d7132e942173a5393b0cd5c0d7f31a /gcc/java
parent6d7f57b217ea37425779c2ba4f933ce8fb7a8baf (diff)
downloadgcc-b14b6cce5ffb340519c8125c07293b9b08b7c845.tar.gz
cp:
* mangle.c (integer_type_codes): Const-ify. java: * decl.c (clear_binding_level): Const-ify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54890 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/decl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index cfc62d01572..3ec4beedcbd 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * decl.c (clear_binding_level): Const-ify.
+
2002-06-13 Akim Demaille <akim@epita.fr>
* parse.y (class_declaration, interface_declaration): Make sure
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 1b883caec36..e289001b646 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -308,7 +308,7 @@ static struct binding_level *global_binding_level;
/* Binding level structures are initialized by copying this one. */
-static struct binding_level clear_binding_level
+static const struct binding_level clear_binding_level
= {NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE,
NULL_BINDING_LEVEL, LARGEST_PC, 0};