aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-09-18 00:43:42 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-09-18 00:43:42 +0000
commitb85e3643cc19d5204966f0fef82c9a941b208097 (patch)
tree0550304fa1f5415b76bc3b142cfc32bd8bb017c9 /gcc/tree.c
parente407d8cb49a33f1e74d5db49217841e12b1e0c12 (diff)
downloadgcc-b85e3643cc19d5204966f0fef82c9a941b208097.zip
gcc-b85e3643cc19d5204966f0fef82c9a941b208097.tar.gz
gcc-b85e3643cc19d5204966f0fef82c9a941b208097.tar.bz2
tree.c, tree.h (tree_class_strings): Make array const.
* tree.c, tree.h (tree_class_strings): Make array const. Reindent per coding convention. Move asterisk to proper place per coding convention. From-SVN: r87685
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index f0c55e0..02d2ee9 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -53,19 +53,19 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* Each tree code class has an associated string representation.
These must correspond to the tree_code_class entries. */
-const char* tree_code_class_strings[] =
- {
- "exceptional",
- "constant",
- "type",
- "declaration",
- "reference",
- "comparison",
- "unary",
- "binary",
- "statement",
- "expression",
- };
+const char *const tree_code_class_strings[] =
+{
+ "exceptional",
+ "constant",
+ "type",
+ "declaration",
+ "reference",
+ "comparison",
+ "unary",
+ "binary",
+ "statement",
+ "expression",
+};
/* obstack.[ch] explicitly declined to prototype this. */
extern int _obstack_allocated_p (struct obstack *h, void *obj);