target/stm8: Make 'stm8_command_handlers' static
Change-Id: I5237a8f2a1ecba9383672e37bd56f8ccd17598b6 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: http://openocd.zylin.com/6200 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
64d89d5ee1
commit
167adaf841
|
@ -2159,7 +2159,7 @@ static const struct command_registration stm8_exec_command_handlers[] = {
|
|||
COMMAND_REGISTRATION_DONE
|
||||
};
|
||||
|
||||
const struct command_registration stm8_command_handlers[] = {
|
||||
static const struct command_registration stm8_command_handlers[] = {
|
||||
{
|
||||
.name = "stm8",
|
||||
.mode = COMMAND_ANY,
|
||||
|
|
|
@ -70,6 +70,4 @@ target_to_stm8(struct target *target)
|
|||
return target->arch_info;
|
||||
}
|
||||
|
||||
const struct command_registration stm8_command_handlers[];
|
||||
|
||||
#endif /* OPENOCD_TARGET_STM8_H */
|
||||
|
|
Loading…
Reference in New Issue