Protoization.
This commit is contained in:
parent
604259a086
commit
9df3df999d
@ -1,3 +1,8 @@
|
||||
2000-08-21 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* dbxread (dbx_symfile_read, process_later): Protoize.
|
||||
* dsrec.c (load_srec): Protoize.
|
||||
|
||||
2000-08-18 Andrew Cagney <cagney@ops1.cygnus.com>
|
||||
|
||||
* mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not
|
||||
|
@ -549,9 +549,7 @@ record_minimal_symbol (char *name, CORE_ADDR address, int type,
|
||||
table (as opposed to a shared lib or dynamically loaded file). */
|
||||
|
||||
static void
|
||||
dbx_symfile_read (objfile, mainline)
|
||||
struct objfile *objfile;
|
||||
int mainline; /* FIXME comments above */
|
||||
dbx_symfile_read (struct objfile *objfile, int mainline)
|
||||
{
|
||||
bfd *sym_bfd;
|
||||
int val;
|
||||
@ -813,10 +811,8 @@ static int cont_count = 0;
|
||||
/* Arrange for function F to be called with arguments SYM and P later
|
||||
in the stabs reading process. */
|
||||
void
|
||||
process_later (sym, p, f)
|
||||
struct symbol *sym;
|
||||
char *p;
|
||||
int (*f) (struct objfile *, struct symbol *, char *);
|
||||
process_later (struct symbol *sym, char *p,
|
||||
int (*f) (struct objfile *, struct symbol *, char *))
|
||||
{
|
||||
|
||||
/* Allocate more space for the deferred list. */
|
||||
|
10
gdb/dsrec.c
10
gdb/dsrec.c
@ -44,14 +44,8 @@ static int make_srec (char *srec, CORE_ADDR targ_addr, bfd * abfd,
|
||||
and returns non-zero if the ack is read correctly. */
|
||||
|
||||
void
|
||||
load_srec (desc, file, load_offset, maxrecsize, flags, hashmark, waitack)
|
||||
serial_t desc;
|
||||
const char *file;
|
||||
bfd_vma load_offset;
|
||||
int maxrecsize;
|
||||
int flags;
|
||||
int hashmark;
|
||||
int (*waitack) (void);
|
||||
load_srec (serial_t desc, const char *file, bfd_vma load_offset, int maxrecsize,
|
||||
int flags, int hashmark, int (*waitack) (void))
|
||||
{
|
||||
bfd *abfd;
|
||||
asection *s;
|
||||
|
Loading…
Reference in New Issue
Block a user