Revert to original style.

This commit is contained in:
Philippe Charnier 1997-07-15 08:04:40 +00:00
parent 0d3f410b50
commit 297b94929a
2 changed files with 8 additions and 5 deletions

View file

@ -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 <err.h>
@ -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

View file

@ -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 <err.h>
@ -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 );