4.02 lacks void *.
* elfread.c: Use void * not PTR inside PARAMS.
Sat Oct 2 19:28:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * mipsread.c, objfiles.c, utils.c: Use PTR not void *. RISC/OS
+ 4.02 lacks void *.
+ * elfread.c: Use void * not PTR inside PARAMS.
+
* config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
* config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
* config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
elf_symtab_read PARAMS ((bfd *, CORE_ADDR, struct objfile *));
static void
-free_elfinfo PARAMS ((PTR));
+free_elfinfo PARAMS ((void *));
static struct section_offsets *
elf_symfile_offsets PARAMS ((struct objfile *, CORE_ADDR));
struct objfile *));
static void
-elf_locate_sections PARAMS ((bfd *, asection *, PTR));
+elf_locate_sections PARAMS ((bfd *, asection *, void *));
/* We are called once per section from elf_symfile_read. We
need to examine each section we are passed, check to see
{
struct objfile *objfile = NULL;
int fd;
- void *md;
+ PTR md;
CORE_ADDR mapto;
mapped |= mapped_symbol_files;
if (fd >= 0)
{
if (((mapto = map_to_address ()) == 0) ||
- ((md = mmalloc_attach (fd, (void *) mapto)) == NULL))
+ ((md = mmalloc_attach (fd, (PTR) mapto)) == NULL))
{
close (fd);
}