diff options
author | Mark Eichin <eichin@cygnus> | 1992-06-02 17:22:47 +0000 |
---|---|---|
committer | Mark Eichin <eichin@cygnus> | 1992-06-02 17:22:47 +0000 |
commit | 9138a2e2f6bdddcc643a3ed208093d5cc8a7023d (patch) | |
tree | a7461bc46162614482281ef2cffae2bc64073eb5 /gprof/arcs.c | |
parent | 50a39795e21751fccaf75cf4e9df1378e5fcba62 (diff) | |
download | gdb-9138a2e2f6bdddcc643a3ed208093d5cc8a7023d.zip gdb-9138a2e2f6bdddcc643a3ed208093d5cc8a7023d.tar.gz gdb-9138a2e2f6bdddcc643a3ed208093d5cc8a7023d.tar.bz2 |
Makefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGS
Makefile: it shouldn't be under cvs; given that it is, fix it too
arcs.c: fprintf used where printf should have been.
lookup.c: misdeclared calloc; use a cast instead.
Diffstat (limited to 'gprof/arcs.c')
-rw-r--r-- | gprof/arcs.c | 3 |
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; |