aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsread.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-03-19 19:00:04 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-03-19 19:00:04 +0000
commit12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f (patch)
treed87fae326c52e35655203a09cf9fe4da4f76ff18 /gdb/mipsread.c
parent858bc62deeda09c4f11eb59a4eec4cb6d9ff1133 (diff)
downloadgdb-12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f.zip
gdb-12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f.tar.gz
gdb-12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f.tar.bz2
* coffread.c: Remove redundant static declarations. Replace
occurrences of `PTR' with `void *'. * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. * top.h (quit_cover): Likewise. * defs.h (catch_errors): Likewise.
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r--gdb/mipsread.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index 17a8fb7..1f869f4 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -185,15 +185,13 @@ struct alphacoff_dynsecinfo
asection *got_sect; /* Section pointer for .got section */
};
-static void alphacoff_locate_sections (bfd *, asection *, PTR);
-
/* We are called once per section from read_alphacoff_dynamic_symtab.
We need to examine each section we are passed, check to see
if it is something we are interested in processing, and
if so, stash away some access information for the section. */
static void
-alphacoff_locate_sections (bfd *ignore_abfd, asection *sectp, PTR sip)
+alphacoff_locate_sections (bfd *ignore_abfd, asection *sectp, void *sip)
{
register struct alphacoff_dynsecinfo *si;
@@ -252,7 +250,7 @@ read_alphacoff_dynamic_symtab (struct section_offsets *section_offsets,
/* Locate the dynamic symbols sections and read them in. */
memset ((char *) &si, 0, sizeof (si));
- bfd_map_over_sections (abfd, alphacoff_locate_sections, (PTR) & si);
+ bfd_map_over_sections (abfd, alphacoff_locate_sections, (void *) & si);
if (si.sym_sect == NULL
|| si.str_sect == NULL
|| si.dyninfo_sect == NULL