aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/coffread.c2
-rw-r--r--gdb/elfread.c4
-rw-r--r--gdb/mdebugread.c2
-rw-r--r--gdb/minsyms.c2
-rw-r--r--gdb/mipsread.c2
6 files changed, 11 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0dee085..4b1253b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -2,6 +2,11 @@
* 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.
2001-05-25 Nick Duffek <nsd@redhat.com>
diff --git a/gdb/coffread.c b/gdb/coffread.c
index a343a68..fddf1e6 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -312,7 +312,7 @@ struct find_targ_sec_arg
asection **resultp;
};
-static void find_targ_sec (bfd *, asection *, void *);
+static void find_targ_sec (bfd *, asection *, PTR);
static void
find_targ_sec (bfd *abfd, asection *sect, PTR obj)
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
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 401a09e..aab357e 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -378,7 +378,7 @@ static PTR xzalloc (unsigned int);
static void sort_blocks (struct symtab *);
-static int compare_blocks (const void *, const void *);
+static int compare_blocks (const PTR, const PTR);
static struct partial_symtab *new_psymtab (char *, struct objfile *);
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index 0ed38d2..9481747 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -77,7 +77,7 @@ static int msym_count;
/* Prototypes for local functions. */
-static int compare_minimal_symbols (const void *, const void *);
+static int compare_minimal_symbols (const PTR, const PTR);
static int
compact_minimal_symbols (struct minimal_symbol *, int, struct objfile *);
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index dac06fc..17a8fb7 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -185,7 +185,7 @@ struct alphacoff_dynsecinfo
asection *got_sect; /* Section pointer for .got section */
};
-static void alphacoff_locate_sections (bfd *, asection *, void *);
+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