aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-09-12 16:25:07 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-09-12 16:25:07 +0000
commit40008eda377fb8e6ff7549230c81767217662791 (patch)
tree0e93950145ea2a73742b649fd03a0f8d97b8ada4 /gcc/cp/decl2.c
parentfd033052f96f8e4c62f981e6923371f0d58278ca (diff)
downloadgcc-40008eda377fb8e6ff7549230c81767217662791.zip
gcc-40008eda377fb8e6ff7549230c81767217662791.tar.gz
gcc-40008eda377fb8e6ff7549230c81767217662791.tar.bz2
decl2.c (lang_f_options): Const-ification.
* decl2.c (lang_f_options): Const-ification. * lex.c (cplus_tree_code_name): Likewise. * spew.c (yyerror): Likewise. From-SVN: r45565
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 749b8b5..5c62aca 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -417,7 +417,7 @@ c_language_kind c_language = clk_cplusplus;
if `-fSTRING' is seen as an option.
(If `-fno-STRING' is seen as an option, the opposite value is stored.) */
-static struct { const char *string; int *variable; int on_value;}
+static struct { const char *const string; int *variable; int on_value;}
lang_f_options[] =
{
/* C/C++ options. */