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/i386.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/i386.c')
-rw-r--r-- | usr.bin/gprof/i386.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/gprof/i386.c b/usr.bin/gprof/i386.c index 83957460685..b1670088b60 100644 --- a/usr.bin/gprof/i386.c +++ b/usr.bin/gprof/i386.c @@ -1,8 +1,8 @@ -/* $OpenBSD: i386.c,v 1.4 2001/03/22 05:18:30 mickey Exp $ */ +/* $OpenBSD: i386.c,v 1.5 2002/03/25 16:30:55 danh Exp $ */ /* $NetBSD: i386.c,v 1.5 1995/04/19 07:16:04 cgd Exp $ */ #ifndef lint -static char rcsid[] = "$OpenBSD: i386.c,v 1.4 2001/03/22 05:18:30 mickey Exp $"; +static char rcsid[] = "$OpenBSD: i386.c,v 1.5 2002/03/25 16:30:55 danh Exp $"; #endif /* not lint */ #include "gprof.h" @@ -34,7 +34,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 (pc = textspace + p_lowpc - N_TXTADDR(xbuf) ; pc < textspace + p_highpc - N_TXTADDR(xbuf) ; pc += len) { len = 1; if (iscall(pc)) { @@ -44,7 +44,7 @@ findcall( parentp , p_lowpc , p_highpc ) printf( "[findcall]\t0x%x:calls" , pc - textspace ); printf( "\tdestpc 0x%x" , destpc ); } -# endif DEBUG +# endif /* DEBUG */ if (destpc >= s_lowpc && destpc <= s_highpc) { childp = nllookup(destpc); # ifdef DEBUG @@ -53,7 +53,7 @@ findcall( parentp , p_lowpc , p_highpc ) printf( " childp->value 0x%x\n" , childp -> value ); } -# endif DEBUG +# endif /* DEBUG */ if (childp != NULL && childp->value == destpc) { addarc(parentp, childp, 0L); len += 4; @@ -64,7 +64,7 @@ findcall( parentp , p_lowpc , p_highpc ) if ( debug & CALLDEBUG ) { printf( "\tbut it's a botch\n" ); } -# endif DEBUG +# endif /* DEBUG */ } } } |