aboutsummaryrefslogtreecommitdiff
path: root/gprof/arcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/arcs.c')
-rw-r--r--gprof/arcs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gprof/arcs.c b/gprof/arcs.c
index 8cb6dad..9061145 100644
--- a/gprof/arcs.c
+++ b/gprof/arcs.c
@@ -31,7 +31,6 @@ addarc( parentp , childp , count )
nltype *childp;
long count;
{
- arctype *calloc();
arctype *arcp;
# ifdef DEBUG
@@ -54,7 +53,7 @@ addarc( parentp , childp , count )
arcp -> arc_count += count;
return;
}
- arcp = calloc( 1 , sizeof *arcp );
+ arcp = (arctype *) calloc( 1 , sizeof *arcp );
arcp -> arc_parentp = parentp;
arcp -> arc_childp = childp;
arcp -> arc_count = count;