diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-21 20:18:21 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-21 20:18:21 +0000 |
commit | b14b6cce5ffb340519c8125c07293b9b08b7c845 (patch) | |
tree | 5edd55c7d7d7132e942173a5393b0cd5c0d7f31a /gcc/java | |
parent | 6d7f57b217ea37425779c2ba4f933ce8fb7a8baf (diff) | |
download | gcc-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/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/decl.c | 2 |
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}; |