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

@@ -39,7 +39,7 @@
static void scale_and_align_entries (void);
static void print_header (int);
static void print_line (Sym *, double);
static int cmp_time (const PTR, const PTR);
static int cmp_time (const void *, const void *);
/* Declarations of automatically generated functions to output blurbs. */
extern void flat_blurb (FILE * fp);
@@ -535,7 +535,7 @@ print_line (Sym *sym, double scale)
lexicographic order of the function names. */
static int
cmp_time (const PTR lp, const PTR rp)
cmp_time (const void *lp, const void *rp)
{
const Sym *left = *(const Sym **) lp;
const Sym *right = *(const Sym **) rp;