summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-23 21:11:28 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-23 21:11:28 +0000
commit8a2c44dea61c189da5b00d1d5a49d626f4c71696 (patch)
treecbe20d6f64749434b0146c1efad18043ef6f8075 /lib/libc
parentfb7aade31641a0d858b6346aff84d346b01589a9 (diff)
tabify + trailing blanks
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gmon/gmon.c14
-rw-r--r--lib/libc/gmon/mcount.c5
2 files changed, 9 insertions, 10 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c
index 64c41686d41..d722ba3dbc0 100644
--- a/lib/libc/gmon/gmon.c
+++ b/lib/libc/gmon/gmon.c
@@ -32,7 +32,7 @@
*/
#if !defined(lint) && defined(LIBC_SCCS)
-static char rcsid[] = "$OpenBSD: gmon.c,v 1.7 1996/09/15 09:31:12 tholo Exp $";
+static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $";
#endif
#include <sys/param.h>
@@ -109,7 +109,7 @@ monstartup(lowpc, highpc)
s_scale = ((float)p->kcountsize / o ) * SCALE_1_TO_1;
#else /* avoid floating point */
int quot = o / p->kcountsize;
-
+
if (quot >= 0x10000)
s_scale = 1;
else if (quot >= 0x100)
@@ -173,12 +173,12 @@ _mcleanup()
pid_t pid;
long divisor;
- /* If PROFDIR contains a null value, no profiling
+ /* If PROFDIR contains a null value, no profiling
output is produced */
if (*profdir == '\0') {
return;
}
-
+
limit = buf + sizeof buf - 1 - 10 - 1 -
strlen(__progname) - 1;
t = buf;
@@ -189,8 +189,8 @@ _mcleanup()
}
*t++ = '/';
- /*
- * Copy and convert pid from a pid_t to a string. For
+ /*
+ * Copy and convert pid from a pid_t to a string. For
* best performance, divisor should be initialized to
* the largest power of 10 less than PID_MAX.
*/
@@ -291,7 +291,7 @@ static int
hertz()
{
struct itimerval tim;
-
+
tim.it_interval.tv_sec = 0;
tim.it_interval.tv_usec = 1;
tim.it_value.tv_sec = 0;
diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c
index b81962d0b0a..88b6e516875 100644
--- a/lib/libc/gmon/mcount.c
+++ b/lib/libc/gmon/mcount.c
@@ -32,7 +32,7 @@
*/
#if !defined(lint) && !defined(_KERNEL) && defined(LIBC_SCCS)
-static char rcsid[] = "$OpenBSD: mcount.c,v 1.5 1997/01/30 05:05:00 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mcount.c,v 1.6 1997/07/23 21:11:27 kstailey Exp $";
#endif
#include <sys/param.h>
@@ -48,7 +48,7 @@ static char rcsid[] = "$OpenBSD: mcount.c,v 1.5 1997/01/30 05:05:00 deraadt Exp
* _mcount updates data structures that represent traversals of the
* program's call graph edges. frompc and selfpc are the return
* address and function address that represents the given call graph edge.
- *
+ *
* Note: the original BSD code used the same variable (frompcindex) for
* both frompcindex and frompc. Any reasonable, modern compiler will
* perform this optimization.
@@ -162,7 +162,6 @@ _MCOUNT_DECL(frompc, selfpc) /* _mcount; may be static, inline, etc */
*frompcindex = toindex;
goto done;
}
-
}
done:
#ifdef _KERNEL