aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2009-09-12 15:46:45 -0400
committerJason Merrill <jason@gcc.gnu.org>2009-09-12 15:46:45 -0400
commit86373e7e611eed40d1d72b9cd34e4789c464c1ee (patch)
tree605928edb601a58710dd81dc6f1253e604104372 /gcc/opts.c
parentbeb1adc15ee60b3597bf6b985bf94a01e39142ad (diff)
downloadgcc-86373e7e611eed40d1d72b9cd34e4789c464c1ee.zip
gcc-86373e7e611eed40d1d72b9cd34e4789c464c1ee.tar.gz
gcc-86373e7e611eed40d1d72b9cd34e4789c464c1ee.tar.bz2
dbgcnt.c (dbg_cnt_process_single_pair): constify.
gcc/ * dbgcnt.c (dbg_cnt_process_single_pair): constify. * opts.c (common_handle_option): constify. gcc/cp/ * repo.c (extract_string, get_base_filename, init_repo): constify. libcpp/ * directives.c (cpp_define): constify. From-SVN: r151661
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 601132e..878635f8 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1512,7 +1512,7 @@ common_handle_option (size_t scode, const char *arg, int value,
{ NULL, 0 }
};
unsigned int * pflags;
- char * comma;
+ const char * comma;
unsigned int lang_flag, specific_flag;
unsigned int len;
unsigned int i;