From f673b0ac7c8bbe04c846001f8eb8ec36d51f6e03 Mon Sep 17 00:00:00 2001 From: charnier Date: Tue, 15 Jul 1997 08:04:40 +0000 Subject: Revert to original style. --- usr.bin/gprof/arcs.c | 8 +++++--- usr.bin/gprof/gprof.c | 5 +++-- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'usr.bin/gprof') diff --git a/usr.bin/gprof/arcs.c b/usr.bin/gprof/arcs.c index db39a5a..6a7b17e 100644 --- a/usr.bin/gprof/arcs.c +++ b/usr.bin/gprof/arcs.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)arcs.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: arcs.c,v 1.3 1997/07/10 06:45:00 charnier Exp $"; + "$Id: arcs.c,v 1.4 1997/07/11 06:11:35 charnier Exp $"; #endif /* not lint */ #include @@ -379,7 +379,8 @@ cyclelink() */ cyclenl = (nltype *) calloc( ncycle + 1 , sizeof( nltype ) ); if ( cyclenl == 0 ) { - warnx("no room for %d bytes of cycle headers", (ncycle+1)*sizeof(nltype) ); + warnx("no room for %d bytes of cycle headers", + ( ncycle + 1 ) * sizeof( nltype ) ); done(); } /* @@ -482,7 +483,8 @@ cycleanalyze() done = FALSE; cyclestack = (arctype **) calloc( size + 1 , sizeof( arctype *) ); if ( cyclestack == 0 ) { - warnx("no room for %d bytes of cycle stack", (size+1)*sizeof(arctype *) ); + warnx("no room for %d bytes of cycle stack", + ( size + 1 ) * sizeof( arctype * ) ); return; } # ifdef DEBUG diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c index eba73ad..6ad9962 100644 --- a/usr.bin/gprof/gprof.c +++ b/usr.bin/gprof/gprof.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)gprof.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: gprof.c,v 1.5 1997/07/10 06:45:00 charnier Exp $"; #endif /* not lint */ #include @@ -350,7 +350,8 @@ gettextspace( nfile ) } textspace = (u_char *) malloc( xbuf.a_text ); if ( textspace == 0 ) { - warnx("ran out room for %d bytes of text space: can't do -c" , xbuf.a_text ); + warnx("ran out room for %d bytes of text space: can't do -c" , + xbuf.a_text ); return; } (void) fseek( nfile , N_TXTOFF( xbuf ) , 0 ); -- cgit v1.1