From: Kevin Buettner Date: Thu, 3 Aug 2000 18:17:58 +0000 (+0000) Subject: Protoization. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=aaf8c4e8a2a17fcf48ea7dde45d5b7252d87205a;p=pf3gnuchains%2Fpf3gnuchains3x.git Protoization. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c6d3c7f959..4676925cc6 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 6633eb98d9..463337399d 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;