From 5ca23017434d726183c1562a8f12458c87770bfe Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Thu, 29 Oct 2020 00:23:13 +0100 Subject: target: declare local symbols as static Functions and variables that are not used outside the file should be declared as static. Change-Id: I9f97571a528f0cb3c3c26f873577ab16fdec3cdc Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5895 Tested-by: jenkins Reviewed-by: Tomas Vanek --- src/target/nds32_v3m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/nds32_v3m.c') diff --git a/src/target/nds32_v3m.c b/src/target/nds32_v3m.c index 86903a5..952d0eb 100644 --- a/src/target/nds32_v3m.c +++ b/src/target/nds32_v3m.c @@ -379,7 +379,7 @@ static int nds32_v3m_remove_watchpoint(struct target *target, return ERROR_OK; } -struct nds32_v3_common_callback nds32_v3m_common_callback = { +static struct nds32_v3_common_callback nds32_v3m_common_callback = { .check_interrupt_stack = nds32_v3m_check_interrupt_stack, .restore_interrupt_stack = nds32_v3m_restore_interrupt_stack, .activate_hardware_breakpoint = nds32_v3m_activate_hardware_breakpoint, -- cgit v1.1