constify parse_cli_boolean_value
This changes a parameter of parse_cli_boolean_value to be const. 2014-06-18 Tom Tromey <tromey@redhat.com> * cli/cli-setshow.h (parse_cli_boolean_value): Update. * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
This commit is contained in:
parent
8236def8eb
commit
5bc98e5269
3 changed files with 7 additions and 2 deletions
|
@ -76,7 +76,7 @@ parse_auto_binary_operation (const char *arg)
|
|||
/* See cli-setshow.h. */
|
||||
|
||||
int
|
||||
parse_cli_boolean_value (char *arg)
|
||||
parse_cli_boolean_value (const char *arg)
|
||||
{
|
||||
int length;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue