-extern int breakpoint_add(struct target_s *target, u32 address, u32 length, enum breakpoint_type type);
-extern int breakpoint_remove(struct target_s *target, u32 address);
-extern breakpoint_t* breakpoint_find(struct target_s *target, u32 address);
-extern int watchpoint_add(struct target_s *target, u32 address, u32 length, enum watchpoint_rw rw, u32 value, u32 mask);
-extern int watchpoint_remove(struct target_s *target, u32 address);
+void breakpoint_clear_target(struct target *target);
+int breakpoint_add(struct target *target,
+ uint32_t address, uint32_t length, enum breakpoint_type type);
+void breakpoint_remove(struct target *target, uint32_t address);