Mon Apr 6 15:25:03 1992 Stu Grossman (grossman at cygnus.com)
+ * mipsread.c: Fix more declarations.
+
* mipsread.c: Fix many invocations of complain. Use enum
type_code where appropriate.
sort_blocks PARAMS ((struct symtab *));
static int
-compare_blocks PARAMS ((struct block **, struct block **));
+compare_blocks PARAMS ((const void *, const void *));
static struct partial_symtab *
new_psymtab PARAMS ((char *, struct objfile *));
/* Blocks with a smaller low bound should come first */
static int
-compare_blocks(b1, b2)
- struct block **b1, **b2;
+compare_blocks(arg1, arg2)
+ const void *arg1, *arg2;
{
register int addr_diff;
+ struct block **b1 = (struct block **) arg1;
+ struct block **b2 = (struct block **) arg2;
addr_diff = (BLOCK_START((*b1))) - (BLOCK_START((*b2)));
if (addr_diff == 0)