diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-11 21:21:57 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-11 21:21:57 +0000 |
commit | 0ca849f929504ae39395b09d4f09de86ffd37fea (patch) | |
tree | bdeda7a0beab2d2482b6c7ebd75ff000c4932bf5 /gcc/cpplex.c | |
parent | a2fd6a9178b1380b076128c1ee4eaef3c93dc535 (diff) | |
download | gcc-0ca849f929504ae39395b09d4f09de86ffd37fea.tar.gz |
* cpplex.c (digraph_spellings, token_spellings): Make static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46201 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r-- | gcc/cpplex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 3ea32612d24..47a5c05a958 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 |