From 9df3df999d6456c2e3347efd432ef1f9d91e39f4 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Mon, 21 Aug 2000 17:30:58 +0000 Subject: [PATCH] Protoization. --- gdb/ChangeLog | 5 +++++ gdb/dbxread.c | 10 +++------- gdb/dsrec.c | 10 ++-------- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d4b4a6b..3300c35 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-08-21 Kevin Buettner + + * dbxread (dbx_symfile_read, process_later): Protoize. + * dsrec.c (load_srec): Protoize. + 2000-08-18 Andrew Cagney * mips-tdep.c (mips_gdbarch_init): Check arches->gdbarch and not diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 2cb594e..5a8a09f 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -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. */ diff --git a/gdb/dsrec.c b/gdb/dsrec.c index 8f58916..6065380 100644 --- a/gdb/dsrec.c +++ b/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; -- 2.7.4