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