openocd: declare struct command_registration in a single line
To simplify scripts to compare documentation and registered commands. Change-Id: I3bed5ba80ea8be1fd615697e80d66b42d7b45fd1 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6718 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
parent
b46cb18c91
commit
43ea974555
|
@ -284,8 +284,7 @@ static int jim_aice_names(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
|
|||
}
|
||||
|
||||
/* */
|
||||
static const struct command_registration
|
||||
aice_transport_jtag_subcommand_handlers[] = {
|
||||
static const struct command_registration aice_transport_jtag_subcommand_handlers[] = {
|
||||
{
|
||||
.name = "init",
|
||||
.mode = COMMAND_ANY,
|
||||
|
|
|
@ -45,8 +45,7 @@ COMMAND_HANDLER(hl_transport_reset_command)
|
|||
return hl_interface_init_reset();
|
||||
}
|
||||
|
||||
static const struct command_registration
|
||||
hl_swd_transport_subcommand_handlers[] = {
|
||||
static const struct command_registration hl_swd_transport_subcommand_handlers[] = {
|
||||
{
|
||||
.name = "newdap",
|
||||
.mode = COMMAND_CONFIG,
|
||||
|
@ -67,8 +66,7 @@ static const struct command_registration hl_swd_transport_command_handlers[] = {
|
|||
COMMAND_REGISTRATION_DONE
|
||||
};
|
||||
|
||||
static const struct command_registration
|
||||
hl_transport_jtag_subcommand_handlers[] = {
|
||||
static const struct command_registration hl_transport_jtag_subcommand_handlers[] = {
|
||||
{
|
||||
.name = "newtap",
|
||||
.mode = COMMAND_CONFIG,
|
||||
|
|
Loading…
Reference in New Issue