sim: mark complete_option_list args const to fix build warnings
The completion API was updated, but this func missed having its text/word args const.
This commit is contained in:
parent
b14016f0b2
commit
f06dccb0fe
|
@ -1,3 +1,7 @@
|
||||||
|
2013-09-03 Mike Stump <mikestump@comcast.net>
|
||||||
|
|
||||||
|
* sim-options.c (complete_option_list): Mark text and word const.
|
||||||
|
|
||||||
2013-06-28 Tom Tromey <tromey@redhat.com>
|
2013-06-28 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* Make-common.in (version.c): Use version.in, not
|
* Make-common.in (version.c): Use version.in, not
|
||||||
|
|
|
@ -920,7 +920,7 @@ find_match (SIM_DESC sd, sim_cpu *cpu, char *argv[], int *pargi)
|
||||||
|
|
||||||
static char **
|
static char **
|
||||||
complete_option_list (char **ret, size_t *cnt, const struct option_list *ol,
|
complete_option_list (char **ret, size_t *cnt, const struct option_list *ol,
|
||||||
char *text, char *word)
|
const char *text, const char *word)
|
||||||
{
|
{
|
||||||
const OPTION *opt = NULL;
|
const OPTION *opt = NULL;
|
||||||
int argi;
|
int argi;
|
||||||
|
|
Loading…
Reference in New Issue