diff options
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 64369a6a835..5ba58cba57c 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -529,7 +529,7 @@ c_common_decode_option (argc, argv) int argc; char **argv; { - static int lang_flags[] = {CL_C_ONLY, CL_C, CL_CXX_ONLY, CL_CXX}; + static const int lang_flags[] = {CL_C_ONLY, CL_C, CL_CXX_ONLY, CL_CXX}; size_t opt_index; const char *opt, *arg = 0; char *dup = 0; |