summaryrefslogtreecommitdiff
path: root/usr.bin/gprof/gprof.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-02-21 07:12:57 +0000
committerBruce Evans <bde@FreeBSD.org>2002-02-21 07:12:57 +0000
commit4cd016e8fd79a4e78b95e1cc843a99e01327885b (patch)
treeccbf4fb113cf9c36ffe98a293f7b57cf6f7e7208 /usr.bin/gprof/gprof.c
parent2ef41c0cb53cff8e5d4a3b0e73e0105216cd93ac (diff)
Notes
Diffstat (limited to 'usr.bin/gprof/gprof.c')
-rw-r--r--usr.bin/gprof/gprof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c
index 79dafc7720ba..4ba5e1ebcdf0 100644
--- a/usr.bin/gprof/gprof.c
+++ b/usr.bin/gprof/gprof.c
@@ -48,6 +48,8 @@ static const char rcsid[] =
#include <err.h>
#include "gprof.h"
+#define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT))
+
static int valcmp(const void *, const void *);