aboutsummaryrefslogtreecommitdiff
path: root/gprof/hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/hist.c')
-rw-r--r--gprof/hist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gprof/hist.c b/gprof/hist.c
index 2b2dceb..e87d846 100644
--- a/gprof/hist.c
+++ b/gprof/hist.c
@@ -12,6 +12,8 @@
#include "sym_ids.h"
#include "utils.h"
+#define UNITS_TO_CODE (offset_to_code / sizeof(UNIT))
+
static void scale_and_align_entries PARAMS ((void));
/* declarations of automatically generated functions to output blurbs: */