riscv: make local symbols static
Symbols that are not exported should be declared as static. Change-Id: Ie3bd17535c8cb2a0fec5d3bedfe7de3e0a702613 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7166 Tested-by: jenkins Reviewed-by: Tim Newsome <tim@sifive.com> Reviewed-by: Jan Matyas <matyas@codasip.com>
This commit is contained in:
@@ -2297,7 +2297,7 @@ static int arch_state(struct target *target)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
COMMAND_HELPER(riscv011_print_info, struct target *target)
|
||||
static COMMAND_HELPER(riscv011_print_info, struct target *target)
|
||||
{
|
||||
/* Abstract description. */
|
||||
riscv_print_info_line(CMD, "target", "memory.read_while_running8", 0);
|
||||
|
||||
Reference in New Issue
Block a user