summaryrefslogtreecommitdiff
path: root/gdb/disasm.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-09 18:30:32 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-09 18:30:32 +0000
commitcf0396f62d4a996a788bf15632d59f46476da6b5 (patch)
tree13d17da3bdffb70ad993bc6cfef63cb37d879a0a /gdb/disasm.c
parentc27bdee1cd22bf097ccf987f2b13d6e70c2759b8 (diff)
downloadgdb-cf0396f62d4a996a788bf15632d59f46476da6b5.tar.gz
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* somsolib.h: Fix function indentation. * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. * somsolib.c, inftarg.c: Remove assignment in if conditional.
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r--gdb/disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c
index 8ce9a155166..e69458d6e56 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -66,7 +66,7 @@ gdb_dis_asm_read_memory (bfd_vma memaddr, bfd_byte * myaddr,
}
static int
-compare_lines (const PTR mle1p, const PTR mle2p)
+compare_lines (const void *mle1p, const void *mle2p)
{
struct dis_line_entry *mle1, *mle2;
int val;