aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-08-13 04:27:08 +0000
committerFred Fish <fnf@specifix.com>1996-08-13 04:27:08 +0000
commitc1d58bcded631ca0b325d3a10156d8727a029337 (patch)
treec460ad5019408e2130b9b77a71d30cea3d7f2eec /gdb/buildsym.c
parentc6cffcf8b46fd0b6282a5eac7843dd4720f54257 (diff)
downloadgdb-c1d58bcded631ca0b325d3a10156d8727a029337.zip
gdb-c1d58bcded631ca0b325d3a10156d8727a029337.tar.gz
gdb-c1d58bcded631ca0b325d3a10156d8727a029337.tar.bz2
* 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.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c4
1 files changed, 2 insertions, 2 deletions
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;