summaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-05-29 10:45:10 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-05-29 10:45:10 +0000
commitef808e738a4910cb9c0980330cb6b020218fe7aa (patch)
tree236320b0996119fb3e5a5a32a60365bd1b559a3c /gdb/elfread.c
parent9fc9127d5e17fdefc5e047d6079e893a1ca1f144 (diff)
downloadgdb-ef808e738a4910cb9c0980330cb6b020218fe7aa.tar.gz
* symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition. * minsyms.c (compare_minimal_symbols): Likewise. * coffread.c (find_targ_sec): Likewise. * elfread.c (free_elfinfo, elf_locate_sections): Likewise. * mipsread.c (alphacoff_locate_sections): Likewise. * mdebugread.c (compare_blocks): Likewise.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 71e383dc187..4394e5a5187 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -76,7 +76,7 @@ static void elf_symfile_finish (struct objfile *);
static void elf_symtab_read (struct objfile *, int);
-static void free_elfinfo (void *);
+static void free_elfinfo (PTR);
static struct minimal_symbol *record_minimal_symbol_and_info (char *,
CORE_ADDR,
@@ -88,7 +88,7 @@ static struct minimal_symbol *record_minimal_symbol_and_info (char *,
struct objfile
*);
-static void elf_locate_sections (bfd *, asection *, void *);
+static void elf_locate_sections (bfd *, asection *, PTR);
/* We are called once per section from elf_symfile_read. We
need to examine each section we are passed, check to see