aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-03-19 19:00:04 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-03-19 19:00:04 +0000
commit12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f (patch)
treed87fae326c52e35655203a09cf9fe4da4f76ff18 /gdb/minsyms.c
parent858bc62deeda09c4f11eb59a4eec4cb6d9ff1133 (diff)
downloadgdb-12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f.zip
gdb-12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f.tar.gz
gdb-12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f.tar.bz2
* 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.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r--gdb/minsyms.c12
1 files changed, 1 insertions, 11 deletions
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;