aboutsummaryrefslogtreecommitdiff
path: root/gprof/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/symtab.c')
-rw-r--r--gprof/symtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/symtab.c b/gprof/symtab.c
index ff4c18e..807f4b7 100644
--- a/gprof/symtab.c
+++ b/gprof/symtab.c
@@ -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;