diff options
author | Dan Harnett <danh@cvs.openbsd.org> | 2002-03-25 16:30:56 +0000 |
---|---|---|
committer | Dan Harnett <danh@cvs.openbsd.org> | 2002-03-25 16:30:56 +0000 |
commit | a4b7ca99e8620eb800e0ae6b1e31d12f8c2ef1db (patch) | |
tree | b33e81fbd6a1abf9f542981a89a0de1475bb9454 /usr.bin/gprof/tahoe.c | |
parent | 17d81f3c648dd5c3e06dc329054b1432eb213bd7 (diff) |
change the extra text following preprocessor directives into comments.
patch from David Krause <openbsd@davidkrause.com>
ok millert@
Diffstat (limited to 'usr.bin/gprof/tahoe.c')
-rw-r--r-- | usr.bin/gprof/tahoe.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/gprof/tahoe.c b/usr.bin/gprof/tahoe.c index 246e08976f5..4484b5ec82b 100644 --- a/usr.bin/gprof/tahoe.c +++ b/usr.bin/gprof/tahoe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tahoe.c,v 1.3 2001/03/22 05:18:30 mickey Exp $ */ +/* $OpenBSD: tahoe.c,v 1.4 2002/03/25 16:30:55 danh Exp $ */ /* $NetBSD: tahoe.c,v 1.5 1995/04/19 07:16:27 cgd Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)tahoe.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: tahoe.c,v 1.3 2001/03/22 05:18:30 mickey Exp $"; +static char rcsid[] = "$OpenBSD: tahoe.c,v 1.4 2002/03/25 16:30:55 danh Exp $"; #endif #endif /* not lint */ @@ -253,7 +253,7 @@ findcall( parentp , p_lowpc , p_highpc ) printf( "[findcall] %s: 0x%x to 0x%x\n" , parentp -> name , p_lowpc , p_highpc ); } -# endif DEBUG +# endif /* DEBUG */ for ( instructp = textspace + p_lowpc ; instructp < textspace + p_highpc ; instructp += length ) { @@ -267,7 +267,7 @@ findcall( parentp , p_lowpc , p_highpc ) if ( debug & CALLDEBUG ) { printf( "[findcall]\t0x%x:callf" , instructp - textspace ); } -# endif DEBUG +# endif /* DEBUG */ firstmode = operandmode( instructp+length ); switch ( firstmode ) { case literal: @@ -283,7 +283,7 @@ findcall( parentp , p_lowpc , p_highpc ) printf( "\tfirst operand is %s", operandname( firstmode ) ); printf( "\tsecond operand is %s\n" , operandname( mode ) ); } -# endif DEBUG +# endif /* DEBUG */ switch ( mode ) { case regdef: case bytedispdef: @@ -322,7 +322,7 @@ findcall( parentp , p_lowpc , p_highpc ) printf( " childp->value 0x%x\n" , childp -> value ); } -# endif DEBUG +# endif /* DEBUG */ if ( childp -> value == destpc ) { /* * a hit @@ -348,7 +348,7 @@ findcall( parentp , p_lowpc , p_highpc ) if ( debug & CALLDEBUG ) { printf( "[findcall]\tbut it's a botch\n" ); } -# endif DEBUG +# endif /* DEBUG */ length = 1; continue; } |