aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2001-10-11 21:21:57 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-10-11 21:21:57 +0000
commit8206c799f26f57e250c2035e7343344a80df646e (patch)
treebdeda7a0beab2d2482b6c7ebd75ff000c4932bf5 /gcc/cpplex.c
parent4d6d06a5c74c4b1571bcec4a09d41f0ef8e23f3b (diff)
downloadgcc-8206c799f26f57e250c2035e7343344a80df646e.zip
gcc-8206c799f26f57e250c2035e7343344a80df646e.tar.gz
gcc-8206c799f26f57e250c2035e7343344a80df646e.tar.bz2
* cpplex.c (digraph_spellings, token_spellings): Make static.
From-SVN: r46201
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c6
1 files changed, 3 insertions, 3 deletions
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