This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH RFC] Protoize breakpoint.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH RFC] Protoize breakpoint.c
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Wed, 2 Aug 2000 20:09:57 -0700
More protoization... I'll commit this one sometime after midnight GMT
of Saturday, Aug 5.
* breakpoint.c (bpstat_alloc, map_catch_names,
map_breakpoint_numbers): Protoize.
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.15
diff -u -r1.15 breakpoint.c
--- breakpoint.c 2000/07/30 01:48:24 1.15
+++ breakpoint.c 2000/08/03 02:57:17
@@ -2246,9 +2246,7 @@
/* Allocate a new bpstat and chain it to the current one. */
static bpstat
-bpstat_alloc (b, cbs)
- register struct breakpoint *b;
- bpstat cbs; /* Current "bs" value */
+bpstat_alloc (struct breakpoint *b, bpstat cbs /* Current "bs" value */ )
{
bpstat bs;
@@ -5661,9 +5659,7 @@
/* For each catch clause identified in ARGS, run FUNCTION
with that clause as an argument. */
static struct symtabs_and_lines
-map_catch_names (args, function)
- char *args;
- int (*function) ();
+map_catch_names (char *args, int (*function) ())
{
register char *p = args;
register char *p1;
@@ -7209,9 +7205,7 @@
whose numbers are given in ARGS. */
static void
-map_breakpoint_numbers (args, function)
- char *args;
- void (*function) (struct breakpoint *);
+map_breakpoint_numbers (char *args, void (*function) (struct breakpoint *))
{
register char *p = args;
char *p1;