forked from Imagelibrary/binutils-gdb
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user