From ad53e288d3fccbd419d5ba1979f2e5075f414462 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 29 May 2001 10:20:27 +0000 Subject: [PATCH] * symfile.c (compare_psymbols, compare_symbols): Declare using PTR, as in the definition. --- gdb/ChangeLog | 5 +++++ gdb/symfile.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca5baf316d..0dee0853f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-05-29 Alexandre Oliva + + * symfile.c (compare_psymbols, compare_symbols): Declare using + PTR, as in the definition. + 2001-05-25 Nick Duffek * solib.c (update_solib_list): Move target_resize_to_sections() diff --git a/gdb/symfile.c b/gdb/symfile.c index 822c114fa3..5535eb6ed4 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 *);