target: remove double const specificator
Double const is bogus and breaks the build on Clang 3.3. Change-Id: I9f9394d17f66289ac74ae6dd48f3165483b72e9e Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/1489 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Tested-by: jenkins__archive__
parent
8d49388945
commit
80d01ca975
|
@ -5022,7 +5022,7 @@ static int target_create(Jim_GetOptInfo *goi)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* now - create the new target name command */
|
/* now - create the new target name command */
|
||||||
const const struct command_registration target_subcommands[] = {
|
const struct command_registration target_subcommands[] = {
|
||||||
{
|
{
|
||||||
.chain = target_instance_command_handlers,
|
.chain = target_instance_command_handlers,
|
||||||
},
|
},
|
||||||
|
@ -5031,7 +5031,7 @@ static int target_create(Jim_GetOptInfo *goi)
|
||||||
},
|
},
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
};
|
};
|
||||||
const const struct command_registration target_commands[] = {
|
const struct command_registration target_commands[] = {
|
||||||
{
|
{
|
||||||
.name = cp,
|
.name = cp,
|
||||||
.mode = COMMAND_ANY,
|
.mode = COMMAND_ANY,
|
||||||
|
|
Loading…
Reference in New Issue