This is an automated email from Gerrit.

"Erhan Kurubas <erhan.kuru...@espressif.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7955

-- gerrit

commit 840f5023ee85f9d58a5972fee72f0997ec543f55
Author: Erhan Kurubas <erhan.kuru...@espressif.com>
Date:   Sat Oct 28 20:58:08 2023 +0200

    target/breakpoints: make breakpoint_watchpoint_remove_all static
    
    Fixes below Sparse tool warning.
    warning: symbol 'breakpoint_watchpoint_remove_all' was not declared.
    Should it be static?
    
    Signed-off-by: Erhan Kurubas <erhan.kuru...@espressif.com>
    Change-Id: I4af1d5aa54abcb45f746b877513ba0b5fccbeb47

diff --git a/src/target/breakpoints.c b/src/target/breakpoints.c
index 07d0a73710..d9c12f523d 100644
--- a/src/target/breakpoints.c
+++ b/src/target/breakpoints.c
@@ -425,7 +425,7 @@ static int watchpoint_remove_all_internal(struct target 
*target)
        return retval;
 }
 
-int breakpoint_watchpoint_remove_all(struct target *target, enum 
breakpoint_watchpoint bp_wp)
+static int breakpoint_watchpoint_remove_all(struct target *target, enum 
breakpoint_watchpoint bp_wp)
 {
        assert(bp_wp == BREAKPOINT || bp_wp == WATCHPOINT);
        int retval = ERROR_OK;

-- 

Reply via email to