summaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-23 00:34:27 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-23 00:34:27 +0000
commit19e3c8bff02d9bef74dbe62da86cd071c288bb2c (patch)
treeb95431c5722da5ecd2f7f61bc01f465d42dbec96 /gcc/reload1.c
parent448cef71dc14ec3388f29830529fcb5dfd904521 (diff)
downloadgcc-19e3c8bff02d9bef74dbe62da86cd071c288bb2c.tar.gz
* reload1.c (indirect_symref_ok, reload_obstack): Make them
static. * reload.h: Remove the prototype for indirect_symref_ok. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96911 138bc75d-0d04-0410-961f-82ee72b054a4
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 31407b3d96f..5a044f6c8d2 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. */