aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-08-03 18:17:58 +0000
committerKevin Buettner <kevinb@redhat.com>2000-08-03 18:17:58 +0000
commit831662b3ca9573511b23218d917f919b46614afd (patch)
tree8e71a855e477d1ca896765e2c544fb3b1889cafb
parentdac850af102d729c255c62a6761065a0491fbe05 (diff)
downloadgdb-831662b3ca9573511b23218d917f919b46614afd.zip
gdb-831662b3ca9573511b23218d917f919b46614afd.tar.gz
gdb-831662b3ca9573511b23218d917f919b46614afd.tar.bz2
Protoization.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/breakpoint.c12
2 files changed, 8 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c6d3c7f..4676925 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-03 Kevin Buettner <kevinb@redhat.com>
+
+ * breakpoint.c (bpstat_alloc, map_catch_names,
+ map_breakpoint_numbers): Protoize.
+
Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* remote-mips.c (mips_expect, mips_expect_timeout, common_open,
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 6633eb9..4633373 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -2246,9 +2246,7 @@ breakpoint_cond_eval (PTR exp)
/* 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 @@ struct sal_chain
/* 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 @@ ignore_command (char *args, int from_tty)
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;