OPENOCD: review scope of functions
Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
787a5067fb
commit
b2495c0101
|
@ -202,7 +202,7 @@ static const struct command_registration openocd_command_handlers[] = {
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
};
|
};
|
||||||
|
|
||||||
int openocd_register_commands(struct command_context *cmd_ctx)
|
static int openocd_register_commands(struct command_context *cmd_ctx)
|
||||||
{
|
{
|
||||||
return register_commands(cmd_ctx, NULL, openocd_command_handlers);
|
return register_commands(cmd_ctx, NULL, openocd_command_handlers);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue