diff options
author | Jason Merrill <jason@redhat.com> | 2009-09-12 15:46:45 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-09-12 15:46:45 -0400 |
commit | 86373e7e611eed40d1d72b9cd34e4789c464c1ee (patch) | |
tree | 605928edb601a58710dd81dc6f1253e604104372 /libcpp/directives.c | |
parent | beb1adc15ee60b3597bf6b985bf94a01e39142ad (diff) | |
download | gcc-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 'libcpp/directives.c')
-rw-r--r-- | libcpp/directives.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcpp/directives.c b/libcpp/directives.c index 9c988df..c5a1895 100644 --- a/libcpp/directives.c +++ b/libcpp/directives.c @@ -2156,7 +2156,8 @@ do_unassert (cpp_reader *pfile) void cpp_define (cpp_reader *pfile, const char *str) { - char *buf, *p; + char *buf; + const char *p; size_t count; /* Copy the entire option so we can modify it. |