mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hmp: Rename help_cmd() to hmp_help_cmd(), move declaration to hmp.h
The next commit will move a caller of help_cmd() to a new file. Including monitor/monitor-internal.h there just for help_cmd() feels silly. Better to provide it in monitor/hmp.h suitably renamed. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230124121946.1139465-8-armbru@redhat.com>
This commit is contained in:
parent
52f50b1e9f
commit
5ec92f2d92
4 changed files with 6 additions and 6 deletions
|
@ -272,7 +272,7 @@ static void help_cmd_dump(Monitor *mon, const HMPCommand *cmds,
|
|||
}
|
||||
}
|
||||
|
||||
void help_cmd(Monitor *mon, const char *name)
|
||||
void hmp_help_cmd(Monitor *mon, const char *name)
|
||||
{
|
||||
char *args[MAX_ARGS];
|
||||
int nb_args = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue