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

@ -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;