* cpplex.c (digraph_spellings, token_spellings): Make static.
authorZack Weinberg <zack@codesourcery.com>
Thu, 11 Oct 2001 21:21:57 +0000 (21:21 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 11 Oct 2001 21:21:57 +0000 (21:21 +0000)
From-SVN: r46201

gcc/ChangeLog
gcc/cpplex.c

index c8d660cceec4d77a09dc2e4298cde51fa0bc5fd3..515710d4d3cba6412f331d42fbda0624beefc8f9 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-11  Zack Weinberg  <zack@codesourcery.com>
+
+       * cpplex.c (digraph_spellings, token_spellings): Make static.
+
 2001-10-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        * unroll.c (loop_iterations): Fixup last patch.
index 3ea32612d24c7992d176b4a4b0113248bcc50a4b..47a5c05a958cb404164b420e1ceb46e032ff4b03 100644 (file)
@@ -69,12 +69,12 @@ struct token_spelling
   const unsigned char *name;
 };
 
-const unsigned char *digraph_spellings [] = {U"%:", U"%:%:", U"<:",
-                                            U":>", U"<%", U"%>"};
+static const unsigned char *const digraph_spellings[] =
+{ U"%:", U"%:%:", U"<:", U":>", U"<%", U"%>" };
 
 #define OP(e, s) { SPELL_OPERATOR, U s           },
 #define TK(e, s) { s,              U STRINGX (e) },
-const struct token_spelling token_spellings [N_TTYPES] = {TTYPE_TABLE };
+static const struct token_spelling token_spellings[N_TTYPES] = { TTYPE_TABLE };
 #undef OP
 #undef TK