Add two missing consts
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 21 Sep 2015 22:47:33 +0000 (18:47 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 21 Sep 2015 22:47:57 +0000 (18:47 -0400)
commitacaa662f29836ce4d4c3a0abc2132f285f9df585
tree5b2a7153d406b6f2207f5354e78734b9ddcde2a1
parent7f7a1bce250bc286d23a4b895d684748bec03a71
Add two missing consts

Two missing consts, found while doing cxx-conversion work.  We end up
with a char*, even though we pass a const char* to strstr.  I am pushing
this as obvious.

gdb/ChangeLog:

* cli/cli-setshow.c (cmd_show_list): Constify a variable.
* linespec.c (linespec_lexer_lex_string): Same.
gdb/ChangeLog
gdb/cli/cli-setshow.c
gdb/linespec.c
This page took 0.024508 seconds and 4 git commands to generate.