aboutsummaryrefslogtreecommitdiff
path: root/gprof/sym_ids.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/sym_ids.c
parent02a71ae8069b06a76c10995cc07b883f08844287 (diff)
downloadfsf-binutils-gdb-9e972ca0eda7909625dc1e3a8f29a3958f2c94c3.zip
fsf-binutils-gdb-9e972ca0eda7909625dc1e3a8f29a3958f2c94c3.tar.gz
fsf-binutils-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/sym_ids.c')
-rw-r--r--gprof/sym_ids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/sym_ids.c b/gprof/sym_ids.c
index 72da918..32f9322 100644
--- a/gprof/sym_ids.c
+++ b/gprof/sym_ids.c
@@ -28,7 +28,7 @@
#include "cg_arcs.h"
#include "sym_ids.h"
-struct sym_id
+static struct sym_id
{
struct sym_id *next;
char *spec; /* Parsing modifies this. */
@@ -59,7 +59,7 @@ static void extend_match
Sym_Table syms[NUM_TABLES];
#ifdef DEBUG
-const char *table_name[] =
+static const char *table_name[] =
{
"INCL_GRAPH", "EXCL_GRAPH",
"INCL_ARCS", "EXCL_ARCS",