From 378536737534d2a8710807f1e5fbed43d372e6a4 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Sun, 23 Jan 1994 00:31:14 +0000 Subject: Minor MPW compatibility tweaks. --- binutils/objdump.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'binutils/objdump.c') diff --git a/binutils/objdump.c b/binutils/objdump.c index 5da041c..9214f06 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -1,5 +1,5 @@ /* objdump.c -- dump information about an object file. - Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc. + Copyright 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -219,9 +219,10 @@ int remove_useless_symbols (syms, count) } -/* Sort symbols into value order */ +/* Sort symbols into value order. */ + static int -comp (ap, bp) +compare_symbols (ap, bp) PTR ap; PTR bp; { @@ -431,7 +432,7 @@ disassemble_data (abfd) symcount = remove_useless_symbols (syms, symcount); /* Sort the symbols into section and symbol order */ - (void) qsort (syms, symcount, sizeof (asymbol *), comp); + (void) qsort (syms, symcount, sizeof (asymbol *), compare_symbols); if (machine != (char *) NULL) { -- cgit v1.1