From 8206c799f26f57e250c2035e7343344a80df646e Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 11 Oct 2001 21:21:57 +0000 Subject: * cpplex.c (digraph_spellings, token_spellings): Make static. From-SVN: r46201 --- gcc/cpplex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/cpplex.c') diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 3ea3261..47a5c05 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -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 -- cgit v1.1