From c1d58bcded631ca0b325d3a10156d8727a029337 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 13 Aug 1996 04:27:08 +0000 Subject: * remote-pa.c (boot_board): Add dummy params to make type compatible for passing to add_com. * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. * buildsym.c (compare_line_numbers): Change function to match prototype and also what qsort expects. --- gdb/buildsym.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/buildsym.c') diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 5a5847a..e0b30f0 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -664,8 +664,8 @@ record_line (subfile, line, pc) static int compare_line_numbers (ln1p, ln2p) - const PTR ln1p; - const PTR ln2p; + const void *ln1p; + const void *ln2p; { struct linetable_entry *ln1 = (struct linetable_entry *) ln1p; struct linetable_entry *ln2 = (struct linetable_entry *) ln2p; -- cgit v1.1