target: make local symbols static
Symbols that are not exported should be declared as static. Change-Id: I2475524f4c14520e3163572560f4a9f276356ed5 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7168 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -975,7 +975,7 @@ static int jim_handle_actionpoints_num(Jim_Interp *interp, int argc,
|
||||
|
||||
/* ----- Exported target commands ------------------------------------------ */
|
||||
|
||||
const struct command_registration arc_l2_cache_group_handlers[] = {
|
||||
static const struct command_registration arc_l2_cache_group_handlers[] = {
|
||||
{
|
||||
.name = "auto",
|
||||
.handler = arc_l2_cache_disable_auto_cmd,
|
||||
@@ -986,7 +986,7 @@ const struct command_registration arc_l2_cache_group_handlers[] = {
|
||||
COMMAND_REGISTRATION_DONE
|
||||
};
|
||||
|
||||
const struct command_registration arc_cache_group_handlers[] = {
|
||||
static const struct command_registration arc_cache_group_handlers[] = {
|
||||
{
|
||||
.name = "auto",
|
||||
.handler = arc_l1_cache_disable_auto_cmd,
|
||||
|
||||
Reference in New Issue
Block a user