* breakpoint.h (mark_breakpoints_out): Remove
declaration.
* breakpoint.c (mark_breakpoints_out): Make static.
2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
+ Make mark_breakpoints_out static.
+ * breakpoint.h (mark_breakpoints_out): Remove
+ declaration.
+ * breakpoint.c (mark_breakpoints_out): Make static.
+
+2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
+
Prevent clear_command from directly modifying breakpoint list.
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
static void free_bp_location (struct bp_location *loc);
+static void mark_breakpoints_out (void);
+
/* Prototypes for exported functions. */
/* If FALSE, gdb will not use hardware support for watchpoints, even
/* Clear the "inserted" flag in all breakpoints. */
-void
+static void
mark_breakpoints_out (void)
{
struct bp_location *bpt;
extern void set_default_breakpoint (int, CORE_ADDR, struct symtab *, int);
-extern void mark_breakpoints_out (void);
-
extern void breakpoint_init_inferior (enum inf_context);
extern struct cleanup *make_cleanup_delete_breakpoint (struct breakpoint *);