mangle.c (integer_type_codes): Const-ify.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 21 Jun 2002 20:18:21 +0000 (20:18 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 21 Jun 2002 20:18:21 +0000 (20:18 +0000)
cp:
* mangle.c (integer_type_codes): Const-ify.
java:
* decl.c (clear_binding_level): Const-ify.

From-SVN: r54890

gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/java/ChangeLog
gcc/java/decl.c

index 8cc664e3b3ff914656cba3d5070c411f5f46c6a8..6631b330b96d3b0027cdc58995c0dfada1123e6e 100644 (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
index 996b0272d7318d8bfbb1caf2543037594cf544b4..ae5714a857d19b447702f8a82439d731dd659ffc 100644 (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 */
index cfc62d0157250bf059d6c3308afae9fc59fe8b96..3ec4beedcbdb93a1bc03820b7de29383150cce11 100644 (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
index 1b883caec361fdd1a6f6af2da6794c194b206183..e289001b64629026dae25d65e418936779e38f61 100644 (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};