From: Kevin Buettner Date: Thu, 3 Aug 2000 18:17:58 +0000 (+0000) Subject: Protoization. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=831662b3ca9573511b23218d917f919b46614afd;p=binutils-gdb.git Protoization. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c6d3c7f9591..4676925cc69 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-08-03 Kevin Buettner + + * breakpoint.c (bpstat_alloc, map_catch_names, + map_breakpoint_numbers): Protoize. + Thu Aug 3 15:02:23 2000 Andrew Cagney * remote-mips.c (mips_expect, mips_expect_timeout, common_open, diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 6633eb98d97..463337399d3 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;