summaryrefslogtreecommitdiff
path: root/usr.bin/gprof/gprof.c
diff options
context:
space:
mode:
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 *);