diff options
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r-- | gdb/cli/cli-decode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index dd64996..2c2d72e 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -986,10 +986,10 @@ add_info (const char *name, cmd_const_cfunc_ftype *fun, const char *doc) /* Add an alias to the list of info subcommands. */ -struct cmd_list_element * -add_info_alias (const char *name, const char *target_name, int abbrev_flag) +cmd_list_element * +add_info_alias (const char *name, cmd_list_element *target, int abbrev_flag) { - return add_alias_cmd (name, target_name, class_run, abbrev_flag, &infolist); + return add_alias_cmd (name, target, class_run, abbrev_flag, &infolist); } /* Add an element to the list of commands. */ |