summaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-18 00:43:42 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-18 00:43:42 +0000
commita93de1eea13f1bf4f33b97e0c2d212d95641f3a7 (patch)
tree0550304fa1f5415b76bc3b142cfc32bd8bb017c9 /gcc/tree.c
parent9721aa7a90dad40d618046507a8e4b335325114a (diff)
downloadgcc-a93de1eea13f1bf4f33b97e0c2d212d95641f3a7.tar.gz
* tree.c, tree.h (tree_class_strings): Make array const.
Reindent per coding convention. Move asterisk to proper place per coding convention. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87685 138bc75d-0d04-0410-961f-82ee72b054a4
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 f0c55e0acd3..02d2ee9b0ad 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);