* cpplex.c (digraph_spellings, token_spellings): Make static.

From-SVN: r46201
This commit is contained in:
Zack Weinberg 2001-10-11 21:21:57 +00:00 committed by Zack Weinberg
parent 4d6d06a5c7
commit 8206c799f2
2 changed files with 7 additions and 3 deletions

View 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.

View 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