Protoization.
authorKevin Buettner <kevinb@redhat.com>
Mon, 21 Aug 2000 17:30:58 +0000 (17:30 +0000)
committerKevin Buettner <kevinb@redhat.com>
Mon, 21 Aug 2000 17:30:58 +0000 (17:30 +0000)
gdb/ChangeLog
gdb/dbxread.c
gdb/dsrec.c

index d4b4a6b..3300c35 100644 (file)
@@ -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
index 2cb594e..5a8a09f 100644 (file)
@@ -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.  */
index 8f58916..6065380 100644 (file)
@@ -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;