* 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.
This commit is contained in:
Nick Clifton
2009-09-25 09:57:50 +00:00
parent b7c313290a
commit c34f4fc672
6 changed files with 28 additions and 11 deletions

View File

@ -1,6 +1,7 @@
/* hist.h
Copyright 2000, 2001, 2002, 2004, 2005, 2007 Free Software Foundation, Inc.
Copyright 2000, 2001, 2002, 2004, 2005, 2007, 2009
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@ -30,8 +31,8 @@ typedef struct histogram
int *sample; /* Histogram samples (shorts in the file!). */
} histogram;
histogram *histograms;
unsigned num_histograms;
extern histogram * histograms;
extern unsigned num_histograms;
/* Scale factor converting samples to pc values:
each sample covers HIST_SCALE bytes. */