summaryrefslogtreecommitdiff
path: root/sim/rx
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-10 22:57:13 +0930
committerAlan Modra <amodra@gmail.com>2022-05-13 14:32:54 +0930
commit845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993 (patch)
treecd44d6acbd57ee37cd21d7585d052f9737e04371 /sim/rx
parentd112ec9673d92b43dfef868460b7361d5c6bb06c (diff)
downloadbinutils-gdb-845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993.tar.gz
sim: remove use of PTR
PTR will soon disappear from ansidecl.h. Remove uses in sim. Where a PTR cast is used in assignment or function args to a void* I've simply removed the unnecessary (in C) cast rather than replacing with (void *).
Diffstat (limited to 'sim/rx')
-rw-r--r--sim/rx/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/rx/trace.c b/sim/rx/trace.c
index df83dc14a1b..8d9293c4a63 100644
--- a/sim/rx/trace.c
+++ b/sim/rx/trace.c
@@ -83,7 +83,7 @@ remove_useless_symbols (asymbol ** symbols, long count)
}
static int
-compare_symbols (const PTR ap, const PTR bp)
+compare_symbols (const void *ap, const void *bp)
{
const asymbol *a = *(const asymbol **) ap;
const asymbol *b = *(const asymbol **) bp;