diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-12 19:46:45 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-12 19:46:45 +0000 |
commit | 3f24af9bf4eb9b03c7bfe188eba1e9cadc1ae4ad (patch) | |
tree | 605928edb601a58710dd81dc6f1253e604104372 /gcc/dbgcnt.c | |
parent | 4fe9de846eab9213fe5b189767266f20f170f02b (diff) | |
download | gcc-3f24af9bf4eb9b03c7bfe188eba1e9cadc1ae4ad.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151661 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbgcnt.c')
-rw-r--r-- | gcc/dbgcnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbgcnt.c b/gcc/dbgcnt.c index 0c496b308d6..3fe34854f06 100644 --- a/gcc/dbgcnt.c +++ b/gcc/dbgcnt.c @@ -101,7 +101,7 @@ dbg_cnt_set_limit_by_name (const char *name, int len, int value) static const char * dbg_cnt_process_single_pair (const char *arg) { - char *colon = strchr (arg, ':'); + const char *colon = strchr (arg, ':'); char *endptr = NULL; int value; |