target: make local symbols static
[fw/openocd] / src / target / cortex_m.c
index 8e9264b79ce5604eca3e71e2fd25a873eea9d115..d0c6376a120f7294a146108a32040abff6092d6c 100644 (file)
@@ -1914,7 +1914,7 @@ int cortex_m_remove_watchpoint(struct target *target, struct watchpoint *watchpo
        return ERROR_OK;
 }
 
-int cortex_m_hit_watchpoint(struct target *target, struct watchpoint **hit_watchpoint)
+static int cortex_m_hit_watchpoint(struct target *target, struct watchpoint **hit_watchpoint)
 {
        if (target->debug_reason != DBG_REASON_WATCHPOINT)
                return ERROR_FAIL;