diff options
author | Alan Modra <amodra@gmail.com> | 2022-05-10 22:57:13 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-05-13 14:32:54 +0930 |
commit | 845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993 (patch) | |
tree | cd44d6acbd57ee37cd21d7585d052f9737e04371 /sim/ppc/emul_chirp.c | |
parent | d112ec9673d92b43dfef868460b7361d5c6bb06c (diff) | |
download | gdb-845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993.zip gdb-845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993.tar.gz gdb-845cbaa9ffbfd6a1f7976a6c7f3e4461e4d41993.tar.bz2 |
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/ppc/emul_chirp.c')
-rw-r--r-- | sim/ppc/emul_chirp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/emul_chirp.c b/sim/ppc/emul_chirp.c index a72a34e..7a58538 100644 --- a/sim/ppc/emul_chirp.c +++ b/sim/ppc/emul_chirp.c @@ -1492,7 +1492,7 @@ typedef struct _chirp_note_head { static void map_over_chirp_note(bfd *image, asection *sect, - PTR obj) + void *obj) { chirp_note *note = (chirp_note*)obj; if (strcmp(sect->name, ".note") == 0) { |