Kill cmd_async_ok.
* cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok) (get_cmd_async_ok): Remove. * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove. * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok. * infcmd.c (_initialize_infcmd): Likewise. * thread.c (_initialize_thread): Likewise.
This commit is contained in:
parent
1ce4cec447
commit
d72314c67b
6 changed files with 10 additions and 32 deletions
|
@ -105,18 +105,6 @@ get_cmd_context (struct cmd_list_element *cmd)
|
|||
return cmd->context;
|
||||
}
|
||||
|
||||
void
|
||||
set_cmd_async_ok (struct cmd_list_element *cmd)
|
||||
{
|
||||
cmd->flags |= CMD_ASYNC_OK;
|
||||
}
|
||||
|
||||
int
|
||||
get_cmd_async_ok (struct cmd_list_element *cmd)
|
||||
{
|
||||
return cmd->flags & CMD_ASYNC_OK;
|
||||
}
|
||||
|
||||
void
|
||||
set_cmd_no_selected_thread_ok (struct cmd_list_element *cmd)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue