aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ca5baf3..0dee085 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-29 Alexandre Oliva <aoliva@redhat.com>
+
+ * symfile.c (compare_psymbols, compare_symbols): Declare using
+ PTR, as in the definition.
+
2001-05-25 Nick Duffek <nsd@redhat.com>
* solib.c (update_solib_list): Move target_resize_to_sections()
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 822c114..5535eb6 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -117,9 +117,9 @@ static void add_shared_symbol_files_command (char *, int);
static void cashier_psymtab (struct partial_symtab *);
-static int compare_psymbols (const void *, const void *);
+static int compare_psymbols (const PTR, const PTR);
-static int compare_symbols (const void *, const void *);
+static int compare_symbols (const PTR, const PTR);
bfd *symfile_bfd_open (char *);