diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-18 15:55:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-18 15:55:53 +0000 |
commit | 4efb68b1ad0f40fa002c954c213a516d1e39cfb3 (patch) | |
tree | dd698b5a588dd03316e6d392016860ebd132cef6 /gdb/dwarfread.c | |
parent | 88e90c405f7b96dc90b19bde321f219e129e7e1c (diff) | |
download | gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.zip gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.gz gdb-4efb68b1ad0f40fa002c954c213a516d1e39cfb3.tar.bz2 |
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* ada-valprint.c: Eliminate PTR.
* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r-- | gdb/dwarfread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index b48ea93..b8666c8 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -360,7 +360,7 @@ static const struct language_defn *cu_language_defn; /* Forward declarations of static functions so we don't have to worry about ordering within this file. */ -static void free_utypes (PTR); +static void free_utypes (void *); static int attribute_size (unsigned int); @@ -772,7 +772,7 @@ alloc_utype (DIE_REF die_ref, struct type *utypep) SYNOPSIS - static void free_utypes (PTR dummy) + static void free_utypes (void *dummy) DESCRIPTION @@ -782,7 +782,7 @@ alloc_utype (DIE_REF die_ref, struct type *utypep) */ static void -free_utypes (PTR dummy) +free_utypes (void *dummy) { xfree (utypes); utypes = NULL; @@ -2212,7 +2212,7 @@ read_ofile_symtab (struct partial_symtab *pst) if (LNFOFF (pst)) { if (bfd_seek (abfd, LNFOFF (pst), SEEK_SET) || - (bfd_bread ((PTR) lnsizedata, sizeof (lnsizedata), abfd) + (bfd_bread (lnsizedata, sizeof (lnsizedata), abfd) != sizeof (lnsizedata))) { error ("can't read DWARF line number table size"); |