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 *).
This commit is contained in:
Alan Modra
2022-05-10 22:57:13 +09:30
parent d112ec9673
commit 845cbaa9ff
14 changed files with 23 additions and 23 deletions

View File

@@ -812,7 +812,7 @@ cb_read_target_syscall_maps (host_callback *cb, const char *file)
if (cb->signal_map)
free (cb->signal_map);
if (cb->stat_map)
free ((PTR) cb->stat_map);
free ((void *) cb->stat_map);
cb->syscall_map = syscall_map;
cb->errno_map = errno_map;