mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
Protoization.
This commit is contained in:
parent
dac850af10
commit
831662b3ca
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user