summaryrefslogtreecommitdiff
path: root/gprof/corefile.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/corefile.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/corefile.c')
-rw-r--r--gprof/corefile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c
index c06f7d4c75..e91ab1e2fb 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -28,12 +28,12 @@
#include "corefile.h"
bfd *core_bfd;
-int core_num_syms;
-asymbol **core_syms;
+static int core_num_syms;
+static asymbol **core_syms;
asection *core_text_sect;
PTR core_text_space;
-int min_insn_size;
+static int min_insn_size;
int offset_to_code;
/* For mapping symbols to specific .o files during file ordering. */