This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH RFC] Protoize dbxread.c, dsrec.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH RFC] Protoize dbxread.c, dsrec.c
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Sat, 12 Aug 2000 18:34:15 -0700
More protoization...
I'll be away on travel next week, so I might not commit this until I return.
* dbxread *dbx_symfile_read, process_later): Protoize.
* dsrec.c (load_srec).
Index: dbxread.c
===================================================================
RCS file: /cvs/src/src/gdb/dbxread.c,v
retrieving revision 1.7
diff -u -r1.7 dbxread.c
--- dbxread.c 2000/07/30 01:48:25 1.7
+++ dbxread.c 2000/08/13 01:26:53
@@ -549,9 +549,7 @@
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 @@
/* 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: dsrec.c
===================================================================
RCS file: /cvs/src/src/gdb/dsrec.c,v
retrieving revision 1.4
diff -u -r1.4 dsrec.c
--- dsrec.c 2000/07/30 01:48:25 1.4
+++ dsrec.c 2000/08/13 01:26:53
@@ -44,14 +44,8 @@
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;