aboutsummaryrefslogtreecommitdiff
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
commit9e972ca0eda7909625dc1e3a8f29a3958f2c94c3 (patch)
tree6aff06029254235e890fba4bb059f33b111e4aec /gprof/corefile.c
parent02a71ae8069b06a76c10995cc07b883f08844287 (diff)
downloadgdb-9e972ca0eda7909625dc1e3a8f29a3958f2c94c3.zip
gdb-9e972ca0eda7909625dc1e3a8f29a3958f2c94c3.tar.gz
gdb-9e972ca0eda7909625dc1e3a8f29a3958f2c94c3.tar.bz2
* 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 c06f7d4..e91ab1e 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. */