gprof: remove use of PTR

* basic_blocks.c: Replace uses of PTR with void * throughout.
	* cg_arcs.c: Likewise.
	* cg_print.c: Likewise.
	* hist.c: Likewise.
	* source.h: Likewise.
	* symtab.c: Likewise.
This commit is contained in:
Alan Modra
2022-05-10 08:53:17 +09:30
parent 2ec4ffc1c6
commit e3154ef69c
6 changed files with 22 additions and 22 deletions

View File

@@ -26,7 +26,7 @@
#include "cg_arcs.h"
#include "corefile.h"
static int cmp_addr (const PTR, const PTR);
static int cmp_addr (const void *, const void *);
Sym_Table symtab;
@@ -58,7 +58,7 @@ sym_init (Sym *sym)
the global symbol survives. */
static int
cmp_addr (const PTR lp, const PTR rp)
cmp_addr (const void *lp, const void *rp)
{
const Sym *left = (const Sym *) lp;
const Sym *right = (const Sym *) rp;