This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Fix a -Wmissing-prototypes warning


Missed this the first time around.  Committed trunk/6.0.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2003-07-02  Daniel Jacobowitz  <drow@mvista.com>

	* breakpoint.c (insert_catchpoint): Make static.

Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.124
diff -u -p -r1.124 breakpoint.c
--- breakpoint.c	19 Jun 2003 20:02:41 -0000	1.124
+++ breakpoint.c	2 Jul 2003 16:17:36 -0000
@@ -704,7 +704,7 @@ read_memory_nobpt (CORE_ADDR memaddr, ch
 
 
 /* A wrapper function for inserting catchpoints.  */
-int
+static int
 insert_catchpoint (struct ui_out *uo, void *args)
 {
   struct breakpoint *b = (struct breakpoint *) args;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]