This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
GDB CVS won't build on OSF4.0's cc
- To: gdb-patches at sources dot redhat dot com
- Subject: GDB CVS won't build on OSF4.0's cc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 29 May 2001 07:19:55 -0300
- Organization: GCC Team, Red Hat
This patch fixes it. I'm checking it in as obviously correct.
Index: gdb/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* symfile.c (compare_psymbols, compare_symbols): Declare using
PTR, as in the definition.
Index: gdb/symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.32
diff -u -p -r1.32 symfile.c
--- gdb/symfile.c 2001/05/10 15:33:21 1.32
+++ gdb/symfile.c 2001/05/29 10:18:16
@@ -117,9 +117,9 @@ static void add_shared_symbol_files_comm
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 *);
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me