aboutsummaryrefslogtreecommitdiff
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
commit09d011c5cabc3ebcfa31706bd40ea7568e4a001e (patch)
tree6fb15f8cb7c11775ac386eee51f43be30ccd337f /gdb/elfread.c
parentad53e288d3fccbd419d5ba1979f2e5075f414462 (diff)
downloadfsf-binutils-gdb-09d011c5cabc3ebcfa31706bd40ea7568e4a001e.zip
fsf-binutils-gdb-09d011c5cabc3ebcfa31706bd40ea7568e4a001e.tar.gz
fsf-binutils-gdb-09d011c5cabc3ebcfa31706bd40ea7568e4a001e.tar.bz2
* 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 71e383d..4394e5a 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