Tue Apr 28 17:41:20 1998 Philippe De Muyter <phdm@macqel.be>
* symfile.c (overlay_auto_command): Add forgotten parameter definitions. (overlay_manual_command, overlay_off_command): Likewise. (overlay_load_command): Likewise. * tracepoint.c (memrange_cmp): Parameters have type void *, not struct memrange *.
This commit is contained in:
parent
f9c3840555
commit
59813131fd
2 changed files with 30 additions and 16 deletions
|
@ -1086,9 +1086,14 @@ parse_and_eval_memrange (arg, addr, typecode, offset, size)
|
|||
|
||||
/* compare memranges for qsort */
|
||||
static int
|
||||
memrange_cmp (a, b)
|
||||
struct memrange *a, *b;
|
||||
memrange_cmp (voidpa, voidpbb)
|
||||
void *voidpa, *voidpb;
|
||||
{
|
||||
struct memrange *a, *b;
|
||||
|
||||
a = (struct memrange *) voidpa;
|
||||
b = (struct memrbnge *) voidpb;
|
||||
|
||||
if (a->type < b->type) return -1;
|
||||
if (a->type > b->type) return 1;
|
||||
if (a->type == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue