mangle.c (integer_type_codes): Const-ify.

cp:
	* mangle.c (integer_type_codes): Const-ify.
java:
	* decl.c (clear_binding_level): Const-ify.

From-SVN: r54890
This commit is contained in:
Kaveh R. Ghazi 2002-06-21 20:18:21 +00:00 committed by Kaveh Ghazi
parent 3e16bfe2b1
commit eb6b51b9f0
4 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* mangle.c (integer_type_codes): Const-ify.
2002-06-20 Richard Henderson <rth@redhat.com>
PR c++/6747

View file

@ -121,7 +121,7 @@ static tree subst_identifiers[SUBID_MAX];
/* Single-letter codes for builtin integer types, defined in
<builtin-type>. These are indexed by integer_type_kind values. */
static char
static const char
integer_type_codes[itk_none] =
{
'c', /* itk_char */

View file

@ -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

View file

@ -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};