This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Fix a -Wmissing-prototypes warning
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 2 Jul 2003 12:25:11 -0400
- Subject: [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;