This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GDB CVS won't build on OSF4.0's cc


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]