diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-08-21 17:30:58 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-08-21 17:30:58 +0000 |
commit | 9df3df999d6456c2e3347efd432ef1f9d91e39f4 (patch) | |
tree | 9c77c759610c1b3ac1000c9db3748acf85302ae2 | |
parent | 604259a086894006eb6fd65142a26305858862e7 (diff) | |
download | gdb-9df3df999d6456c2e3347efd432ef1f9d91e39f4.zip gdb-9df3df999d6456c2e3347efd432ef1f9d91e39f4.tar.gz gdb-9df3df999d6456c2e3347efd432ef1f9d91e39f4.tar.bz2 |
Protoization.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dbxread.c | 10 | ||||
-rw-r--r-- | 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 <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 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; |