diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-09-12 16:25:07 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-09-12 16:25:07 +0000 |
commit | 40008eda377fb8e6ff7549230c81767217662791 (patch) | |
tree | 0e93950145ea2a73742b649fd03a0f8d97b8ada4 /gcc/cp/decl2.c | |
parent | fd033052f96f8e4c62f981e6923371f0d58278ca (diff) | |
download | gcc-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.c | 2 |
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. */ |