aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-05-29 10:20:27 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-05-29 10:20:27 +0000
commitad53e288d3fccbd419d5ba1979f2e5075f414462 (patch)
treed1b90efaaa4440ac1b8eb2d911305699dd8e8f01
parente877bb694e97ee8d9714cee23b4de9bbe163cf5c (diff)
downloadgdb-ad53e288d3fccbd419d5ba1979f2e5075f414462.zip
gdb-ad53e288d3fccbd419d5ba1979f2e5075f414462.tar.gz
gdb-ad53e288d3fccbd419d5ba1979f2e5075f414462.tar.bz2
* symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.
-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 *);