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:
@@ -1837,7 +1837,7 @@ static int aarch64_remove_watchpoint(struct target *target,
|
||||
* find out which watchpoint hits
|
||||
* get exception address and compare the address to watchpoints
|
||||
*/
|
||||
int aarch64_hit_watchpoint(struct target *target,
|
||||
static int aarch64_hit_watchpoint(struct target *target,
|
||||
struct watchpoint **hit_watchpoint)
|
||||
{
|
||||
if (target->debug_reason != DBG_REASON_WATCHPOINT)
|
||||
|
||||
Reference in New Issue
Block a user