summaryrefslogtreecommitdiff
path: root/gcc/java/gjavah.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-12 16:21:12 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-09-12 16:21:12 +0000
commit366737236599cfa000227799ecde1c22ce383460 (patch)
treef688b4f2187b5454d9c4305a6522c2901bddc1ed /gcc/java/gjavah.c
parentd360c70c9760aa8091f0f983b879f5603fbd726f (diff)
downloadgcc-366737236599cfa000227799ecde1c22ce383460.tar.gz
* gjavah.c (cxx_keywords): Const-ification.
* keyword.gperf (java_keyword): Likewise. * lang.c (java_tree_code_name): Likewise. * lex.c (cxx_keywords): Likewise. * parse.y (java_parser_context_suspend, merge_string_cste): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45564 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/gjavah.c')
-rw-r--r--gcc/java/gjavah.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c
index 47617af5d41..d340e66277e 100644
--- a/gcc/java/gjavah.c
+++ b/gcc/java/gjavah.c
@@ -390,7 +390,7 @@ utf8_cmp (str, length, name)
/* This is a sorted list of all C++ keywords. */
-static const char *cxx_keywords[] =
+static const char *const cxx_keywords[] =
{
"_Complex",
"__alignof",