From 12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 19 Mar 2002 19:00:04 +0000 Subject: * coffread.c: Remove redundant static declarations. Replace occurrences of `PTR' with `void *'. * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. * top.h (quit_cover): Likewise. * defs.h (catch_errors): Likewise. --- gdb/minsyms.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gdb/minsyms.c') diff --git a/gdb/minsyms.c b/gdb/minsyms.c index 36d695a..a4997bf 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -75,16 +75,6 @@ static int msym_bunch_index; static int msym_count; -/* Prototypes for local functions. */ - -static int compare_minimal_symbols (const PTR, const PTR); - -static int -compact_minimal_symbols (struct minimal_symbol *, int, struct objfile *); - -static void add_minsym_to_demangled_hash_table (struct minimal_symbol *sym, - struct minimal_symbol **table); - /* Compute a hash code based using the same criteria as `strcmp_iw'. */ unsigned int @@ -688,7 +678,7 @@ prim_record_minimal_symbol_and_info (const char *name, CORE_ADDR address, Within groups with the same address, sort by name. */ static int -compare_minimal_symbols (const PTR fn1p, const PTR fn2p) +compare_minimal_symbols (const void *fn1p, const void *fn2p) { register const struct minimal_symbol *fn1; register const struct minimal_symbol *fn2; -- cgit v1.1