diff options
author | Nick Clifton <nickc@redhat.com> | 2009-09-25 09:57:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-09-25 09:57:50 +0000 |
commit | c34f4fc672e56b1bcd89a108e2b799437ce2241a (patch) | |
tree | 0a1bce7cfcd6d7a2b380743fa26f263271848364 /gprof/hist.c | |
parent | b7c313290aec759532d0f6f93b594b79c9059fea (diff) | |
download | binutils-c34f4fc672e56b1bcd89a108e2b799437ce2241a.zip binutils-c34f4fc672e56b1bcd89a108e2b799437ce2241a.tar.gz binutils-c34f4fc672e56b1bcd89a108e2b799437ce2241a.tar.bz2 |
PR 10656
* readelf.c: Remove duplicate declaration of variable do_wide.
* dwarf.h: Add export of do_wide.
* hist.h: Move declaration of histograms and num_histograms
variables from here to...
* hist.c: ...here.
Diffstat (limited to 'gprof/hist.c')
-rw-r--r-- | gprof/hist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gprof/hist.c b/gprof/hist.c index a790fd4..6f4ead8 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -1,6 +1,6 @@ /* hist.c - Histogram related operations. - Copyright 1999, 2000, 2001, 2002, 2004, 2005, 2007 + Copyright 1999, 2000, 2001, 2002, 2004, 2005, 2007, 2009 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -48,6 +48,8 @@ extern void flat_blurb (FILE * fp); static histogram *find_histogram (bfd_vma lowpc, bfd_vma highpc); static histogram *find_histogram_for_pc (bfd_vma pc); +histogram * histograms; +unsigned num_histograms; double hist_scale; static char hist_dimension[16] = "seconds"; static char hist_dimension_abbrev = 's'; |