aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-09 19:19:41 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-09 19:19:41 +0000
commit6fe79279b75e0e1bc82d7eb56a3d8fa15aac18e2 (patch)
treeaf34566ddd9afbc40b40bff7ef56cfe85e3f1864 /gcc
parent3f5d8b4b19550772026ce8ace298ba65992831f8 (diff)
downloadgcc-6fe79279b75e0e1bc82d7eb56a3d8fa15aac18e2.zip
gcc-6fe79279b75e0e1bc82d7eb56a3d8fa15aac18e2.tar.gz
gcc-6fe79279b75e0e1bc82d7eb56a3d8fa15aac18e2.tar.bz2
function.c (combine_temp_slots, [...]): Make them static.
* function.c (combine_temp_slots, assign_parms, expand_pending_sizes): Make them static. * tree.h: Remove the corresponding prototypes. From-SVN: r90357
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/function.c6
-rw-r--r--gcc/tree.h3
3 files changed, 9 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3333159..cc67fe2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+ * function.c (combine_temp_slots, assign_parms,
+ expand_pending_sizes): Make them static.
+ * tree.h: Remove the corresponding prototypes.
+
+2004-11-09 Kazu Hirata <kazu@cs.umass.edu>
+
* emit-rtl.c (copy_most_rtx): Remove.
* rtl.h: Remove the corresponding prototype.
diff --git a/gcc/function.c b/gcc/function.c
index 82776e7..338ad96 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -850,7 +850,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required,
done for BLKmode slots because we can be sure that we won't have alignment
problems in this case. */
-void
+static void
combine_temp_slots (void)
{
struct temp_slot *p, *q, *next, *next_q;
@@ -3011,7 +3011,7 @@ assign_parms_unsplit_complex (tree orig_fnargs, tree fnargs)
/* Assign RTL expressions to the function's parameters. This may involve
copying them into registers and using those registers as the DECL_RTL. */
-void
+static void
assign_parms (tree fndecl)
{
struct assign_parm_data_all all;
@@ -3970,7 +3970,7 @@ expand_main_function (void)
for the current function. The PENDING_SIZES are a TREE_LIST. The
TREE_VALUE of each node is a SAVE_EXPR. */
-void
+static void
expand_pending_sizes (tree pending_sizes)
{
tree tem;
diff --git a/gcc/tree.h b/gcc/tree.h
index 7b26c5d..2482b9d 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3584,7 +3584,6 @@ extern int simple_cst_list_equal (tree, tree);
extern void dump_tree_statistics (void);
extern void expand_function_end (void);
extern void expand_function_start (tree);
-extern void expand_pending_sizes (tree);
extern void recompute_tree_invarant_for_addr_expr (tree);
extern bool is_global_var (tree t);
extern bool needs_to_live_in_memory (tree);
@@ -3613,11 +3612,9 @@ extern void init_function_for_compilation (void);
extern void allocate_struct_function (tree);
extern void init_function_start (tree);
extern bool use_register_for_decl (tree);
-extern void assign_parms (tree);
extern void setjmp_vars_warning (tree);
extern void setjmp_args_warning (void);
extern void init_temp_slots (void);
-extern void combine_temp_slots (void);
extern void free_temp_slots (void);
extern void pop_temp_slots (void);
extern void push_temp_slots (void);