aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-06 17:12:30 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-06 17:12:30 +0000
commit0cd64fe2f15055a62c91906d8a660c607413cdc5 (patch)
tree944fb5ccc1fcad2a4a8b45f020d93026b2a7638d /gdb/symfile.c
parent879db8be1ae5db44e4c72d7126a11154c65d8427 (diff)
downloadgdb-0cd64fe2f15055a62c91906d8a660c607413cdc5.zip
gdb-0cd64fe2f15055a62c91906d8a660c607413cdc5.tar.gz
gdb-0cd64fe2f15055a62c91906d8a660c607413cdc5.tar.bz2
Delete some unnecessary PTR uses.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 5535eb6..ee4d65c 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -117,10 +117,6 @@ static void add_shared_symbol_files_command (char *, int);
static void cashier_psymtab (struct partial_symtab *);
-static int compare_psymbols (const PTR, const PTR);
-
-static int compare_symbols (const PTR, const PTR);
-
bfd *symfile_bfd_open (char *);
static void find_sym_fns (struct objfile *);
@@ -208,7 +204,7 @@ int auto_solib_add = 1;
comparison function takes two "void *" pointers. */
static int
-compare_symbols (const PTR s1p, const PTR s2p)
+compare_symbols (const void *s1p, const void *s2p)
{
register struct symbol **s1, **s2;
@@ -240,7 +236,7 @@ compare_symbols (const PTR s1p, const PTR s2p)
*/
static int
-compare_psymbols (const PTR s1p, const PTR s2p)
+compare_psymbols (const void *s1p, const void *s2p)
{
register struct partial_symbol **s1, **s2;
register char *st1, *st2;