sim: remove use of PTR
authorAlan Modra <amodra@gmail.com>
Tue, 10 May 2022 13:27:13 +0000 (22:57 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 13 May 2022 05:02:54 +0000 (14:32 +0930)
commit845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993
treecd44d6acbd57ee37cd21d7585d052f9737e04371
parentd112ec9673d92b43dfef868460b7361d5c6bb06c
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 *).
14 files changed:
sim/bfin/interp.c
sim/common/callback.c
sim/common/cgen-trace.c
sim/cris/sim-if.c
sim/cris/traps.c
sim/frv/traps.c
sim/m32c/trace.c
sim/m32r/traps.c
sim/mips/interp.c
sim/ppc/emul_chirp.c
sim/ppc/hw_htab.c
sim/ppc/hw_init.c
sim/rl78/trace.c
sim/rx/trace.c