* breakpoint.c (insert_bp_location, allocate_bp_location): Make
authorDaniel Jacobowitz <drow@false.org>
Thu, 6 Nov 2003 18:35:05 +0000 (18:35 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 6 Nov 2003 18:35:05 +0000 (18:35 +0000)
static.

gdb/ChangeLog
gdb/breakpoint.c

index 0813e67ecf8d9147c0ec11a6fee1e52edcfdd87b..169d79e787c711c465ec942d5ee35a3be5a3bb6c 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-06  Daniel Jacobowitz  <drow@mvista.com>
+
+       * breakpoint.c (insert_bp_location, allocate_bp_location): Make
+       static.
+
 2003-11-06  Daniel Jacobowitz  <drow@mvista.com>
 
        * breakpoint.c (remove_breakpoint): Take an bp_location
index b683c2ab5069636fd269692aafc03b81b6857115..962f83aa625cc7273f91c866f8205f9e9c5f6546 100644 (file)
@@ -747,11 +747,11 @@ insert_catchpoint (struct ui_out *uo, void *args)
 
    NOTE drow/2003-09-09: This routine could be broken down to an object-style
    method for each breakpoint or catchpoint type.  */
-int
+static int
 insert_bp_location (struct bp_location *bpt,
-                       struct ui_file *tmp_error_stream,
-                       int *disabled_breaks, int *process_warning,
-                       int *hw_breakpoint_error)
+                   struct ui_file *tmp_error_stream,
+                   int *disabled_breaks, int *process_warning,
+                   int *hw_breakpoint_error)
 {
   int val = 0;
 
@@ -3936,7 +3936,7 @@ adjust_breakpoint_address (CORE_ADDR bpaddr)
 
 /* Allocate a struct bp_location.  */
 
-struct bp_location *
+static struct bp_location *
 allocate_bp_location (struct breakpoint *bpt, enum bptype bp_type)
 {
   struct bp_location *loc, *loc_p;