aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-23 00:34:27 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-23 00:34:27 +0000
commit5983a90e8e796765f599f65e5ed763a8013703af (patch)
treeb95431c5722da5ecd2f7f61bc01f465d42dbec96 /gcc/reload1.c
parent17b32de47d34ecbb0d042f08e6020be7aa8c1b73 (diff)
downloadgcc-5983a90e8e796765f599f65e5ed763a8013703af.zip
gcc-5983a90e8e796765f599f65e5ed763a8013703af.tar.gz
gcc-5983a90e8e796765f599f65e5ed763a8013703af.tar.bz2
reload1.c (indirect_symref_ok, [...]): Make them static.
* reload1.c (indirect_symref_ok, reload_obstack): Make them static. * reload.h: Remove the prototype for indirect_symref_ok. From-SVN: r96911
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 31407b3..5a044f6 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -229,7 +229,7 @@ static char spill_indirect_levels;
/* Nonzero if indirect addressing is supported when the innermost MEM is
of the form (MEM (SYMBOL_REF sym)). It is assumed that the level to
which these are valid is the same as spill_indirect_levels, above. */
-char indirect_symref_ok;
+static char indirect_symref_ok;
/* Nonzero if an address (plus (reg frame_pointer) (reg ...)) is valid. */
char double_reg_address_ok;
@@ -268,7 +268,7 @@ enum insn_code reload_out_optab[NUM_MACHINE_MODES];
/* This obstack is used for allocation of rtl during register elimination.
The allocated storage can be freed once find_reloads has processed the
insn. */
-struct obstack reload_obstack;
+static struct obstack reload_obstack;
/* Points to the beginning of the reload_obstack. All insn_chain structures
are allocated first. */