summaryrefslogtreecommitdiff
path: root/gprof/hist.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-04-23 17:13:31 +0000
committerBen Elliston <bje@au.ibm.com>2005-04-23 17:13:31 +0000
commitf45528ec1efa561ad9832b582a46ec9b6918d1bd (patch)
treee7d4f7c6d77e1d23d4e7ef0524adf5bcba40735e /gprof/hist.c
parentecfa42ad74dcf2f068d77cdef9467e6ab900bef4 (diff)
downloadbinutils-redhat-f45528ec1efa561ad9832b582a46ec9b6918d1bd.tar.gz
* corefile.c (core_num_syms): Make static.
(core_syms): Likewise. (min_insn_size): Likewise. * gprof.c (abfd): Remove unused variable. * hist.c (hist_dimension): Make static. (hist_dimension_abbrev): Likewise. * sym_ids.c (id_list): Likewise. (table_name): Likewise.
Diffstat (limited to 'gprof/hist.c')
-rw-r--r--gprof/hist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/hist.c b/gprof/hist.c
index a3f0329075..f97498e305 100644
--- a/gprof/hist.c
+++ b/gprof/hist.c
@@ -48,8 +48,8 @@ bfd_vma lowpc, highpc; /* Same, but expressed in UNITs. */
unsigned int hist_num_bins = 0; /* Number of histogram samples. */
int *hist_sample = 0; /* Histogram samples (shorts in the file!). */
double hist_scale;
-char hist_dimension[16] = "seconds";
-char hist_dimension_abbrev = 's';
+static char hist_dimension[16] = "seconds";
+static char hist_dimension_abbrev = 's';
static double accum_time; /* Accumulated time so far for print_line(). */
static double total_time; /* Total time for all routines. */